Commit Graph

831 Commits

Author SHA1 Message Date
rachel-rose
0751d83997 cleaned up executables 2021-06-29 13:15:55 +02:00
rachel-rose
cf160aafb0 re-implemented drk cli function calls 2021-06-29 09:44:31 +02:00
Nym
015a7ec973 Add use of SAPLING_COMMITMENT_TREE_DEPTH if needed. 2021-06-28 20:25:52 +00:00
Nym
5d8434c871 Fix spend-classic for change of merkle tree depth. 2021-06-28 20:16:57 +00:00
rachel-rose
565a96e675 fixed formatting error 2021-06-28 19:17:39 +02:00
rachel-rose
e42cd9ffb0 added version0 run commands to readme 2021-06-28 19:16:08 +02:00
Nym
d47301ed0f Merge branch 'asset-id' 2021-06-28 15:23:52 +00:00
rachel-rose
a7b7603197 moved rpc 'start' inside darkfid 'start' to prevent blocking 2021-06-28 15:21:25 +02:00
rachel-rose
87d72327c6 removed unnecessary cashier test 2021-06-28 15:15:17 +02:00
Nym
60eedb7e70 Save asset_id at walletdb. 2021-06-27 15:00:14 +00:00
Nym
f7bd9dfceb Fix comment about merkle tree depth. 2021-06-27 11:34:20 +00:00
Nym
26290ac290 Merge branch 'master' into asset-id 2021-06-27 11:31:52 +00:00
Nym
48beeeb94d Blind the asset_id and enforce asset matches among inputs and outputs. 2021-06-27 11:29:16 +00:00
narodnik
cd11a1e55f halo2 examples 2021-06-27 12:33:23 +02:00
rachel-rose
b3e6c93a4b made dummy cashier 2021-06-27 11:05:11 +02:00
rachel-rose
963a531908 cleaned up some warnings on darkfid 2021-06-27 10:49:08 +02:00
rachel-rose
c4851233ac removed redundant adapter::new() constructor call 2021-06-27 10:05:36 +02:00
rachel-rose
c78ec2edf3 backup of old dfi.rs 2021-06-27 09:42:39 +02:00
rachel-rose
9901797fa2 merged rpc options into ClientProgramOptions and moved dfi.rs to bin/old 2021-06-27 09:41:33 +02:00
ghassmo
c8870bdc59 refactor dark_client and use async code 2021-06-27 09:50:24 +03:00
rachel-rose
b0a04b7d93 made self.cursor a reference 2021-06-27 08:34:55 +02:00
rachel-rose
e6d76428d1 made match statement more succinct by ignoring none value 2021-06-27 07:58:42 +02:00
Nym
9aa387f0f1 Fix comment. 2021-06-26 20:05:27 +00:00
Nym
c5c7fe7b9d Change the value for the final preimage size assert. 2021-06-26 18:03:21 +00:00
Nym
0f31c97152 Merge branch 'master' into asset-id 2021-06-26 17:46:17 +00:00
Nym
f7e6700e8c Emit the signature public from the spend contract.
This was out of sync with the generated file
src/circuit/spend_contract.rs that has been modified manually.
2021-06-26 17:44:19 +00:00
Nym
40f15fc991 Fix fake generated comments. 2021-06-26 17:27:14 +00:00
Nym
7377a47362 Set the merkle tree depth to 32. 2021-06-26 17:23:58 +00:00
Nym
9942b28e94 Add asset_id to coin. Unenforced for now but gets passed around and
included in the coin hash.
2021-06-26 17:08:28 +00:00
Nym
1f719bed60 Remove gui and gfx code, modules and dependencies. 2021-06-26 15:32:58 +00:00
Nym
fe8f82e88d Add rust-toolchain file locking the rust version to 1.51. 2021-06-26 14:45:10 +00:00
rachel-rose
4d446b1971 removed redundant match 2021-06-24 15:57:49 +02:00
rachel-rose
83a7148e08 implemented Encodable for IncrementalWitness and finished put_own_coins 2021-06-24 15:43:54 +02:00
narodnik
091184f005 plonk circuit setup routines 2021-06-23 09:48:49 +02:00
rachel-rose
028bbe1dce pass wallet adapter instead of walletdb 2021-06-22 16:03:19 +02:00
rachel-rose
70c671e622 fixed sqlite library error. added rpc to darkfid 2021-06-22 13:39:43 +02:00
rachel-rose
4cee7d36a8 fixed 'not a database' error 2021-06-22 13:23:37 +02:00
rachel-rose
0613393e95 implemented note decryption. ran cargo fmt 2021-06-22 10:45:19 +02:00
rachel-rose
8978255cd7 added more columns to 'coins' table 2021-06-21 11:56:46 +02:00
rachel-rose
a1e6a51d94 implemented try_decrypt_note 2021-06-21 09:58:31 +02:00
rachel-rose
12fcad460c removed redundant test file 2021-06-21 09:45:17 +02:00
rachel-rose
62ca0557cf removed unnecessary arc wrapper from adapter and walletdb 2021-06-20 11:42:37 +02:00
rachel-rose
4c7ce86360 made walletdb constructor, modified darkfid.rs with reference to walletdb. updated walletdb with
wallet variables. partially implemented cashier check.
2021-06-20 10:48:56 +02:00
rachel-rose
1b643a7124 simplified wallet schema 2021-06-19 10:28:47 +02:00
rachel-rose
32f86d1b0b added data variables to struct and updated new() on walletdb and adapter 2021-06-17 11:07:08 +02:00
rachel-rose
5352a73fd2 added error handling for path dirs 2021-06-14 12:56:23 +02:00
rachel-rose
2744ddeeff added subparsers to drk cli 2021-06-11 13:15:14 +02:00
rachel-rose
95bf3ccf45 cashier key gen test passed 2021-06-09 15:14:33 +02:00
rachel-rose
88df2426a9 added test case for pub key retrieval 2021-06-09 12:43:26 +02:00
rachel-rose
0be5c9f172 made primary key INTEGER and not INT 2021-06-09 11:45:57 +02:00