aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes.rs
Commit message (Collapse)AuthorAgeFilesLines
* giving up with styleYigit Sever2021-04-101-5/+6
|
* %(date +'%Y%m%d')Yigit Sever2021-04-101-12/+8
|
* agliyoYigit Sever2021-04-101-1/+4
|
* dunnoYigit Sever2021-04-101-8/+4
|
* Trying to authYigit Sever2021-04-101-3/+35
|
* Add test TODO items to routesYigit Sever2021-04-091-0/+4
|
* Add routes testsYigit Sever2021-04-091-0/+148
|
* Remove old routes testsYigit Sever2021-04-091-276/+0
|
* Remove unused code from routesYigit Sever2021-04-091-59/+4
| | | | Original repo here: https://github.com/blurbyte/restful-rust
* Implement Block GET/PUT with new schemaYigit Sever2021-04-071-5/+25
| | | | | | | | | | | | | | - `Arc`+`Mutex` is replaced by `parking_lot::RwLock,` decoupled Read+Write and ability to upgrade read locks into write locks if needed - Schema has changed, `Db` is now a struct that implements `new()` to return a new instance of itself, pros/cons listed in code but tl;dr blockchain and pending transactions are separate now - `custom_filters` now supports extracting Block json and Transaction json in separate functions too - /block GET and PUT implemented, `Blocks` currently have one check (transactions appear in pending transaction) - debug is working after something, dunno how I fixed it
* Initial commitYigit Sever2021-04-071-0/+359