Commit Graph

763 Commits

Author SHA1 Message Date
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
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
91a2cd399e fixed typo in wallet schema 2021-06-03 09:32:31 +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
769f9132f6 commented out unstable features from rustfmt.toml 2021-06-02 08:18:26 +02:00
Janus
a479b6ec7c Update lockfile 2021-06-01 09:51:22 -04:00
Janus
47866cdf79 Revert "Make zeromq crate more pure"
This reverts commit a017da663a.
2021-06-01 09:39:32 -04:00
Janus
a017da663a Make zeromq crate more pure 2021-06-01 09:21:32 -04:00
Janus
2374e7f4de Add Cargo.lock 2021-06-01 09:19:02 -04: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
narodnik
149659c74d Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-05-30 10:42:19 +02:00
narodnik
ef6ee7e4bd add vesta pasta curve script 2021-05-30 10:41:52 +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
rachel-rose
11dea54b44 fixed typo on wallet schema 2021-05-28 20:12:55 +02:00