diff options
author | Yigit Sever | 2021-04-14 21:29:46 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-14 21:29:46 +0300 |
commit | 7e49712be6b887b7bc2d62d72955ab159a786ad5 (patch) | |
tree | 75655eb15d8f17abfa42617d05a14eeab071425c | |
parent | 412116978169701479814d433a8bad73bfa54e02 (diff) | |
download | gradecoin-7e49712be6b887b7bc2d62d72955ab159a786ad5.tar.gz gradecoin-7e49712be6b887b7bc2d62d72955ab159a786ad5.tar.bz2 gradecoin-7e49712be6b887b7bc2d62d72955ab159a786ad5.zip |
Update TODOs
-rw-r--r-- | TODO.md | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,7 +1,6 @@ | |||
1 | # TODO | 1 | # TODO |
2 | 2 | ||
3 | ## Simulation | 3 | ## Simulation |
4 | - [ ] Blocks should "play out" the transactions and execute transactions | ||
5 | - [ ] "Coinbase" ("by" of the first transaction of the block) should get rewarded for their efforts | 4 | - [ ] "Coinbase" ("by" of the first transaction of the block) should get rewarded for their efforts |
6 | - [ ] Bank mechanism should be added. | 5 | - [ ] Bank mechanism should be added. |
7 | 6 | ||
@@ -22,20 +21,18 @@ | |||
22 | - [x] Switch to RwLock (parking_lot) (done at 2021-04-07 03:43, two possible schemes to represent inner Db (ledger) in code) | 21 | - [x] Switch to RwLock (parking_lot) (done at 2021-04-07 03:43, two possible schemes to represent inner Db (ledger) in code) |
23 | - [x] We need our own representation of students and their grades, "there is no blockchain" (done at 2021-04-12 00:05) | 22 | - [x] We need our own representation of students and their grades, "there is no blockchain" (done at 2021-04-12 00:05) |
24 | - [x] pick a block proposal scheme (= pick hash function) [list of hash functions](https://en.bitcoinwiki.org/wiki/List_of_hash_functions) (done at 2021-04-12 05:30) | 23 | - [x] pick a block proposal scheme (= pick hash function) [list of hash functions](https://en.bitcoinwiki.org/wiki/List_of_hash_functions) (done at 2021-04-12 05:30) |
25 | ---- | ||
26 | - [x] check the nonce for incoming blocks (done at 2021-04-12 05:30) | 24 | - [x] check the nonce for incoming blocks (done at 2021-04-12 05:30) |
25 | ---- | ||
27 | - [X] pick a user authentication scheme = [JWT](https://tools.ietf.org/html/rfc7519) Seems perfect | 26 | - [X] pick a user authentication scheme = [JWT](https://tools.ietf.org/html/rfc7519) Seems perfect |
28 | - [X] implement JWT | 27 | - [X] implement JWT |
29 | - [X] users should be able to _sign_ their transactions | 28 | - [X] users should be able to _sign_ their transactions |
30 | ---- | 29 | ---- |
31 | - [x] Verbose error messages (use error.rs from [logrocket](https://blog.logrocket.com/create-an-async-crud-web-service-in-rust-with-warp/) ❓) (done at 2021-04-13 20:39, not happy with the result) | 30 | - [x] Verbose error messages (use error.rs from [logrocket](https://blog.logrocket.com/create-an-async-crud-web-service-in-rust-with-warp/) ❓) (done at 2021-04-13 20:39, not happy with the result) |
32 | ---- | ||
33 | - [x] Transactions should be rejected if the user cannot afford to send the amount | 31 | - [x] Transactions should be rejected if the user cannot afford to send the amount |
34 | ---- | ||
35 | - [X] Schema Tests | 32 | - [X] Schema Tests |
36 | ---- | ||
37 | - [x] /register is currently accepting non-encrypted (regular JSON) payloads (2021-04-14 19:19) | 33 | - [x] /register is currently accepting non-encrypted (regular JSON) payloads (2021-04-14 19:19) |
38 | - [x] /register should check for public key pem format and assign signatures | 34 | - [x] /register should check for public key pem format and assign signatures |
39 | ---- | 35 | ---- |
40 | - [x] Recover database from files | 36 | - [x] Recover database from files |
41 | - [.] POST requests to /block should be authenticated as well (2021-04-13 04:50, they now are but until we make error messages **Verbose** there's not much point in testing because I honestly cannot trace the code) | 37 | - [.] POST requests to /block should be authenticated as well (2021-04-13 04:50, they now are but until we make error messages **Verbose** there's not much point in testing because I honestly cannot trace the code) |
38 | - [X] Blocks should "play out" the transactions and execute transactions (2021-04-14 21:29) | ||