summaryrefslogtreecommitdiffstats
path: root/TODO.md
diff options
context:
space:
mode:
authorYigit Sever2021-04-13 20:42:41 +0300
committerYigit Sever2021-04-13 20:42:41 +0300
commitf00437da19b9c57b03392b049429b18755d61da1 (patch)
treeb92a13b6847823b97b43651a16af17335b917167 /TODO.md
parent23e4f52284ad5fa0b068220c54a255ff9fa7b18f (diff)
downloadgradecoin-f00437da19b9c57b03392b049429b18755d61da1.tar.gz
gradecoin-f00437da19b9c57b03392b049429b18755d61da1.tar.bz2
gradecoin-f00437da19b9c57b03392b049429b18755d61da1.zip
Update TODO
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/TODO.md b/TODO.md
index a4efbcc..6323bab 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,14 +1,16 @@
1# TODO 1# TODO
2 2
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
6- [ ] Transactions should be rejected if the user cannot afford to send the amount
7
3## Authentication 8## Authentication
4- [ ] /register is currently accepting non-encrypted (regular JSON) payloads 9- [ ] /register is currently accepting non-encrypted (regular JSON) payloads
5- [ ] /register should check for public key pem format and assign signatures 10- [ ] /register should check for public key pem format and assign signatures
6 11
7## Authorization 12## Authorization
8- [x] 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) 13- [.] 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)
9
10## Verbosity
11- [ ] Verbose error messages (use error.rs from [logrocket](https://blog.logrocket.com/create-an-async-crud-web-service-in-rust-with-warp/) ❓)
12 14
13## Tests 15## Tests
14- [ ] Schema Tests 16- [ ] Schema Tests
@@ -25,7 +27,10 @@
25- [x] Switch to RwLock (parking_lot) (done at 2021-04-07 03:43, two possible schemes to represent inner Db (ledger) in code) 27- [x] Switch to RwLock (parking_lot) (done at 2021-04-07 03:43, two possible schemes to represent inner Db (ledger) in code)
26- [x] We need our own representation of students and their grades, "there is no blockchain" (done at 2021-04-12 00:05) 28- [x] We need our own representation of students and their grades, "there is no blockchain" (done at 2021-04-12 00:05)
27- [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) 29- [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)
30----
28- [x] check the nonce for incoming blocks (done at 2021-04-12 05:30) 31- [x] check the nonce for incoming blocks (done at 2021-04-12 05:30)
29- [X] pick a user authentication scheme = [JWT](https://tools.ietf.org/html/rfc7519) Seems perfect 32- [X] pick a user authentication scheme = [JWT](https://tools.ietf.org/html/rfc7519) Seems perfect
30- [X] implement JWT 33- [X] implement JWT
31- [X] users should be able to _sign_ their transactions 34- [X] users should be able to _sign_ their transactions
35----
36- [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)