Commit Graph

406 Commits

Author SHA1 Message Date
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
cf160aafb0 re-implemented drk cli function calls 2021-06-29 09:44:31 +02:00
Nym
5d8434c871 Fix spend-classic for change of merkle tree depth. 2021-06-28 20:16:57 +00: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
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
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
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
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
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
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
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
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
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
rachel-rose
22fee9c510 added PRIMARY KEY to sqlite and removed all keyID variables from code 2021-06-09 10:44:40 +02:00
rachel-rose
de47e7c4e1 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-06-09 10:25:57 +02:00
rachel-rose
1ff8cfa793 fixed key gen 2021-06-09 10:23:27 +02:00
ghassmo
40e79b2c1d clear all warning messages 2021-06-09 07:45:50 +03:00
ghassmo
d2205c184b print the error msg when reply has an error 2021-06-09 05:21:09 +03:00
ghassmo
52cb64c62d cargo fmt 2021-06-09 05:05:11 +03:00
ghassmo
69b29420d7 create test function for client subscriber 2021-06-09 05:04:09 +03:00
ghassmo
a89c71f324 update the test function 2021-06-09 04:27:27 +03:00
ghassmo
2c93fc403c create GatewaySlabsSubscriber type which receive new slabs from both syncing function and the subscriber 2021-06-09 04:25:24 +03:00
ghassmo
067e942f88 implement Clone trait for Slab 2021-06-09 04:23:36 +03:00