diff options
author | Yigit Sever | 2021-04-12 05:32:53 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-12 05:32:53 +0300 |
commit | e0fb91039f34204b2a5c588a95cb3f1789ad2fa7 (patch) | |
tree | 9c38670c348f04c57185639c541a1a93b8cfde2a /TODO.md | |
parent | 62aa261e1fd531afd1e5fa7244471d051a78db38 (diff) | |
download | gradecoin-e0fb91039f34204b2a5c588a95cb3f1789ad2fa7.tar.gz gradecoin-e0fb91039f34204b2a5c588a95cb3f1789ad2fa7.tar.bz2 gradecoin-e0fb91039f34204b2a5c588a95cb3f1789ad2fa7.zip |
Implement proof-of-work
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
Diffstat (limited to 'TODO.md')
-rw-r--r-- | TODO.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,6 @@ | |||
1 | # TODO | 1 | # TODO |
2 | 2 | ||
3 | ## Proof-of-work | 3 | ## Proof-of-work |
4 | - [ ] pick a block proposal scheme (= pick hash function) [list of hash functions](https://en.bitcoinwiki.org/wiki/List_of_hash_functions) | ||
5 | - [ ] check the nonce for incoming blocks | ||
6 | 4 | ||
7 | ## Authentication | 5 | ## Authentication |
8 | - [X] pick a user authentication scheme = [JWT](https://tools.ietf.org/html/rfc7519) Seems perfect | 6 | - [X] pick a user authentication scheme = [JWT](https://tools.ietf.org/html/rfc7519) Seems perfect |
@@ -26,3 +24,5 @@ | |||
26 | ## Done & Brag | 24 | ## Done & Brag |
27 | - [x] Switch to RwLock (parking_lot) (done at 2021-04-07 03:43, two possible schemes to represent inner Db (ledger) in code) | 25 | - [x] Switch to RwLock (parking_lot) (done at 2021-04-07 03:43, two possible schemes to represent inner Db (ledger) in code) |
28 | - [x] We need our own representation of students and their grades, "there is no blockchain" (done at 2021-04-12 00:05) | 26 | - [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) | ||
28 | - [x] check the nonce for incoming blocks (done at 2021-04-12 05:30) | ||