aboutsummaryrefslogtreecommitdiffstats
path: root/TODO.md
diff options
context:
space:
mode:
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md40
1 files changed, 0 insertions, 40 deletions
diff --git a/TODO.md b/TODO.md
deleted file mode 100644
index 70521a8..0000000
--- a/TODO.md
+++ /dev/null
@@ -1,40 +0,0 @@
1# TODO
2
3## Tests
4- [ ] Route Tests
5 - [ ] Malformed JSON bodies
6 - [ ] Valid JSON with missing fields
7 - [ ] Valid JSON with extra fields
8
9## Someday, Maybe?
10- [ ] CHAOS MODE, 3 different coins, combine them to make 1 gradecoin
11- [X] NICE MODE, transactions move the amount, then award some to the sender, everyone starts with 10 gradecoins
12- [ ] [SQLite](https://unixsheikh.com/articles/sqlite-the-only-database-you-will-ever-need-in-most-cases.html), not PostgreSQL
13
14# Done & Brag
15- [x] Switch to RwLock (parking_lot) (done at 2021-04-07 03:43, two possible schemes to represent inner Db (ledger) in code)
16- [x] We need our own representation of students and their grades, "there is no blockchain" (done at 2021-04-12 00:05)
17- [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)
18- [x] check the nonce for incoming blocks (done at 2021-04-12 05:30)
19----
20- [X] pick a user authentication scheme = [JWT](https://tools.ietf.org/html/rfc7519) Seems perfect
21- [X] implement JWT
22- [X] users should be able to _sign_ their transactions
23----
24- [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)
25- [x] Transactions should be rejected if the user cannot afford to send the amount
26- [X] Schema Tests
27- [x] /register is currently accepting non-encrypted (regular JSON) payloads (2021-04-14 19:19)
28- [x] /register should check for public key pem format and assign signatures
29----
30- [x] Recover database from files
31- [.] 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)
32- [X] Blocks should "play out" the transactions and execute transactions (2021-04-14 21:29)
33- [X] "Coinbase" ("by" of the first transaction of the block) should get rewarded for their efforts (2021-04-14 21:48)
34- [X] Implemented Bank Account (2021-04-14 23:28)
35- [x] use [juice](https://www.getzola.org/themes/juice/) theme ~~with [template rendering](https://blog.logrocket.com/template-rendering-in-rust/)~~ zola to create a landing page. (done at 2021-04-15 03:41, in the most hilarious way possible)
36----
37- [x] IV is array, should be hex, implement checks
38- [x] Restore students from disk
39----
40- [x] User Authentication/Authentication Tests (2021-04-16 15:34, Thanks Austin, Tx)