Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement proof-of-work | Yigit Sever | 2021-04-12 | 1 | -2/+2 |
| | | | | | | | | Using blacke2s: https://docs.rs/blake2/0.9.1/blake2/ Using this guy's hash checker https://gist.github.com/gkbrk/2e4835e3a17b3fb6e1e7 blacke2s with 5 bits 0 can mine a block between 20 seconds to 359 during my tests, hope it'll be fun | ||||
* | Update brag section | Yigit Sever | 2021-04-12 | 1 | -2/+1 |
| | |||||
* | Add TODO items | yigit sever | 2021-04-11 | 1 | -0/+10 |
| | | | | Tests and verbose error messages | ||||
* | Add auth scheme JWT | Yigit Sever | 2021-04-09 | 1 | -2/+6 |
| | |||||
* | Add todo item | Yigit Sever | 2021-04-09 | 1 | -0/+1 |
| | |||||
* | Implement Block GET/PUT with new schema | Yigit Sever | 2021-04-07 | 1 | -1/+5 |
| | | | | | | | | | | | | | | - `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 commit | Yigit Sever | 2021-04-07 | 1 | -0/+10 |