aboutsummaryrefslogtreecommitdiffstats
path: root/src/handlers.rs
Commit message (Collapse)AuthorAgeFilesLines
* agliyoYigit Sever2021-04-101-1/+1
|
* dunnoYigit Sever2021-04-101-1/+3
|
* Trying to authYigit Sever2021-04-101-0/+18
|
* Cleared unused code from handlersYigit Sever2021-04-091-80/+0
| | | | The original repo is here: https://github.com/blurbyte/restful-rust
* Implement Block GET/PUT with new schemaYigit Sever2021-04-071-23/+71
| | | | | | | | | | | | | | - `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/+122