فهرست منبع

added todo.md. deleted very old TODO.md

lunar-mining 5 سال پیش
والد
کامیت
9cc72263ea
2فایلهای تغییر یافته به همراه51 افزوده شده و 19 حذف شده
  1. 0 19
      TODO.md
  2. 51 0
      todo.md

+ 0 - 19
TODO.md

@@ -1,19 +0,0 @@
-* Transaction API
-* Merkle tree API
-    * src/old/spend.rs for merkle_hash() function
-    * Look at zcash_primitives::merkle_tree::CommitmentTree class
-* Higher level language:
-    * Lisp / Racket
-    * PyPEG
-    * lark-parser has a Python3 grammar
-    * Pyparsing
-    * tokenize
-* Finish mint and spend contracts in new ZK language
-* Save/load setup parameters using zcash API
-    * How big are the params?
-    * See zec.rs
-* Command line tool to use VM
-    * Take params in as a json
-* Poseidon hash
-* PoS spec
-

+ 51 - 0
todo.md

@@ -0,0 +1,51 @@
+# version 0 
+
+## misc
+
+[X] random ID param for jsonrpc requests (bin/drk.rs)
+[X] merge cashier branch
+[X] update cashierd.rs to new config handling. note: password param in toml
+[ ] sqlcipher: document install process or otherwise remove friction of using bundled version
+
+## deposit
+
+[X] drk: key generation
+[X] drk: deposit cli option
+[X] darkfid: send drk public key to cashierd.rs over tcp, triggered by drk.rs
+[X] cashierd: recieve drk pub key, reply with btc pub key
+[ ] cashierd: receive BTC, mint dBTC (see tx.rs)
+[ ] cashierd: push tx to rocksdb (type: deposit, signed by cashier key)
+[X] darkfid: poll gateway for new tx
+[X] darkfid: for every new coin received, add to merkle tree
+[X] darkfid: decode tx
+[X] darkfid: perform state transition function
+[X] darkfid: compute merklepath need to spend coin (see tx.rs)
+
+## withdraw
+
+[X] drk: withdraw cli option
+[ ] darkfid: send cashout request to cashier with btc pub key
+[ ] cashierd: receive cashout request, reply with drk pub key
+[ ] darkfid: send dbtc to the cashier drk pub key 
+[ ] cashierd: burn dbtc, send back btc (see tx.rs)
+
+## drk -> drk
+
+[X] drk: transfer cli option
+[ ] darkfid: construct a new spend tx
+[ ] darkfid: build tx
+[ ] darkfid: verify tx
+[ ] darkfid: state transition function
+[ ] darkfid: send tx data to rocksdb
+
+# blockchain 
+
+[ ] 
+
+# halo2
+
+[ ]
+
+# org
+
+[ ] clean up shared repo and migrate to wiki