Commit Graph

839 Commits

Author SHA1 Message Date
ghassmo
5ec3fa888e use join_config_path function for both sqlite and rocksdb databases 2021-06-30 21:28:04 +03:00
ghassmo
a19084ca10 create util module & create join_config_path function 2021-06-30 21:27:28 +03:00
ghassmo
e334d2ca2b clear warning messages 2021-06-30 20:32:47 +03:00
ghassmo
8197b8bf16 remove asset_type from slab struct 2021-06-30 20:27:28 +03:00
rachel-rose
ab8e64b66c simplified walletdb constructor 2021-06-30 12:38:17 +02:00
rachel-rose
23faf56fdd removed own_coins vector. fn apply() now writes directly to sqlite 2021-06-30 12:29:15 +02:00
rachel-rose
0daef9f312 fixed improper dependency graph which caused wallet to be constructed twice 2021-06-30 08:52:18 +02:00
rachel-rose
7638e774d0 moved crypto run scripts to examples dir 2021-06-29 13:16:34 +02:00
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