Commit Graph

347 Commits

Author SHA1 Message Date
ghassmo
9288783d09 cargo fmt 2021-06-04 19:43:00 +03:00
ghassmo
6a56728544 add key_exist_cf() funciton to Rocks struct 2021-06-04 19:40:20 +03:00
ghassmo
15aabbadf0 change path name to database_path 2021-06-04 18:51:49 +03:00
ghassmo
8e8223769b change slabstore struct to use rocks api in rocks.rs file 2021-06-04 18:49:04 +03:00
ghassmo
be2d64d59d create Rocks struct for rocksdb api 2021-06-04 18:47:20 +03:00
rachel-rose
60415b02c6 renamed walletdb and passed a param to path 2021-06-04 10:53:06 +02:00
rachel-rose
124a24ec43 added debug statements 2021-06-03 09:48:37 +02:00
rachel-rose
0323a9af87 refactored rpc/adapter to use walletdb interface 2021-06-02 17:59:59 +02:00
rachel-rose
020ced3c5c cargo fmt 2021-06-02 10:30:49 +02:00
rachel-rose
40a342696a updated to use walletdb interface 2021-06-02 10:30:27 +02:00
rachel-rose
808c3c0cda created walletdb interface 2021-06-02 10:29:20 +02:00
rachel-rose
c6c89fe3d9 generates, saves and retrieves own and cashier keys 2021-05-31 10:14:51 +02:00
rachel-rose
f2244365b5 added get_cashier_public_key function and cashier table in wallet schema 2021-05-30 15:12:28 +02:00
rachel-rose
b3c1768bd6 added cashier generation code to cli/ rpc 2021-05-30 14:32:32 +02:00
rachel-rose
e9475e949c added cashier and own key generation to tx test 2021-05-30 13:59:47 +02:00
rachel-rose
ecca65bae6 reimplemented cashier public check after overwritten by conflict 2021-05-30 13:45:08 +02:00
rachel-rose
4d74555ebe removed conflicts 2021-05-30 13:44:06 +02:00
rachel-rose
1984f85733 error handling to mint.params/spend.params path creation 2021-05-30 08:22:40 +02:00
ghassmo
557fe995ae add slabstore_path to program options for services 2021-05-30 06:24:17 +03:00
rachel-rose
12c1ebb9b9 get private key from sql working in test code 2021-05-29 22:09:35 +02:00
ghassmo
a24d7409dd check and handle status code of error in reply 2021-05-29 17:58:54 +03:00
ghassmo
c5724f3d67 gateway daemon spawn new task once receive a message 2021-05-29 16:04:46 +03:00
ghassmo
eb05266e96 clean up 2021-05-29 15:50:08 +03:00
ghassmo
6305c5151f cargo fmt 2021-05-29 13:49:56 +03:00
ghassmo
ce100374d2 switch sockets type to XREQ and XREP 2021-05-29 13:48:17 +03:00
ghassmo
d70f7c42f2 add test code to run 10 clients simultaneously 2021-05-29 13:47:21 +03:00
ghassmo
437273d527 add TryFromError to Error enum 2021-05-29 13:46:06 +03:00
rachel-rose
fc36d9b95d ?got key generation from cli working 2021-05-29 09:16:24 +02:00
ghassmo
5c9cbd675d get_value_deserialized return Slab instead of generic type 2021-05-29 09:19:29 +03:00
ghassmo
b02bd11c18 cargo fmt 2021-05-29 09:02:52 +03:00
ghassmo
b1c52b7ac2 add more logs messages 2021-05-29 09:01:52 +03:00
ghassmo
944a49c03f create ClientProgramOptions for Service Clients 2021-05-29 08:59:50 +03:00
ghassmo
fd04e5eb32 create darkfid in src/bin/ 2021-05-29 08:58:55 +03:00
ghassmo
8930669e84 delete demowallet bin file 2021-05-29 08:58:13 +03:00
ghassmo
e74a4f9ebb cargo fmt 2021-05-29 08:07:44 +03:00
ghassmo
4fc8214876 remove Mutex form publisher and use async_channel to publish 2021-05-29 07:56:55 +03:00
ghassmo
fe1ba95797 start publish loop when once publisher get started 2021-05-29 07:55:47 +03:00
ghassmo
f7552adf8a refactor subscribe function and remove fetch_slabs_loop function 2021-05-29 07:08:24 +03:00
ghassmo
f7dcdd5ddd make SlabStore return Arc<Self> when create new object 2021-05-29 07:03:06 +03:00
ghassmo
8286356da2 cargo fmt 2021-05-28 19:32:36 +03:00
ghassmo
14254abef6 sync slabs in gateway client 2021-05-28 18:21:17 +03:00
ghassmo
16a11a6c52 compare slab's index with lastindex in local slabstore 2021-05-28 18:18:44 +03:00
ghassmo
0967d85fed create slab struct 2021-05-28 18:16:00 +03:00
ghassmo
09c0c43d47 cargo fmt 2021-05-28 16:54:50 +03:00
ghassmo
c98febd60f integrate rocksdb to gateway client 2021-05-28 16:48:40 +03:00
ghassmo
8362739618 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-05-28 16:30:32 +03:00
ghassmo
1a6bccd8e9 cargo fmt & clean up 2021-05-28 16:28:24 +03:00
ghassmo
6503f23c22 integrate rocksdb to gateway service 2021-05-28 16:27:35 +03:00
ghassmo
0fbdd15454 create slabstore struct 2021-05-28 16:21:38 +03:00
ghassmo
f9de433261 impl error for rocksdb::Error 2021-05-28 16:17:28 +03:00