Commit Graph

810 Commits

Author SHA1 Message Date
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
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
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
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
ghassmo
847754b5c3 cargo update 2021-06-07 16:20:06 +03:00
rachel-rose
75c2bc3b02 cashier pub key validity check 2021-06-07 12:23:03 +02:00
rachel-rose
1d54c62e2b further simplfied path retrieval 2021-06-07 11:51:21 +02:00
rachel-rose
c9796207d0 cargo fmt 2021-06-07 11:42:59 +02:00
rachel-rose
dd21e0a9f3 made path retreival more general 2021-06-07 11:42:28 +02:00
ghassmo
ef41dcefdf minor changes 2021-06-06 20:50:51 +03:00
ghassmo
2a367549ee cargo fmt 2021-06-06 19:39:21 +03:00
ghassmo
2ef8a6fd65 create generic struct RocksColumn to handle different columns in rocksdb 2021-06-06 19:35:35 +03:00
ghassmo
ea7db79afa integrate rocksdb into state struct & move the struct to darkfid.rs file 2021-06-06 19:32:49 +03:00
ghassmo
c0a8d5e4e2 move slab.rs, slabstore.rs and rocks.rs to separated dir 2021-06-06 15:53:19 +03:00
ghassmo
9288783d09 cargo fmt 2021-06-04 19:43:00 +03:00