summaryrefslogtreecommitdiffstats
path: root/src/schema.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement Block GET/PUT with new schemaYigit Sever2021-04-071-20/+45
| | | | | | | | | | | | | | - `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/+223