Files
darkfi/todo.md
2021-08-15 22:09:29 +02:00

1.7 KiB

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 [ ] darkfid: check addresses are valid [X] darkfid: send drk public key to cashierd.rs over tcp, triggered by drk.rs [X] cashierd: receive BTC, mint dBTC (see tx.rs) [X] cashierd: push tx to rocksdb (type: deposit, signed by cashier key) [ ] cashierd: watch address for deposit [ ] cashierd: resume watch after restart [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 [X] darkfid: check address is valid [X] darkfid: send cashout request to cashier with btc pub key [X] cashierd: receive cashout request, reply with drk pub key [X] 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 [X] darkfid: construct a new spend tx [ ] darkfid: check address is valid [X] darkfid: build tx [ ] darkfid: verify tx [X] darkfid: state transition function [X] darkfid: send tx data to rocksdb

blockchain

[ ]

halo2

[x] mint circuit poc [ ] burn circuit poc [x] research port from jubjub to pasta (success) [x] research port from blake2b to sinsemilla and/or poseidon [ ] solve poseidon gadget to hash >2 elements at a time [ ] integrate with actual codebase

org

[ ] clean up shared repo and migrate to wiki