Commit Graph

1192 Commits

Author SHA1 Message Date
ghassmo
bb290b1fb6 make OwnCoin struct instead of tuple 2021-09-07 22:36:25 +03:00
ghassmo
4e607b2696 add keypair to cashier wallet when call key_gen() function 2021-09-07 22:33:51 +03:00
ghassmo
493c5fb2f9 add more errors to ClientField enum 2021-09-07 22:32:39 +03:00
ghassmo
98042a3e90 fix a bug in cashierdb test 2021-09-07 20:16:07 +03:00
ghassmo
33ae156f3c create WalletApi trait and implement it for both cashierdb and walletdb 2021-09-07 15:28:21 +03:00
ghassmo
c1b145517f cargo fmt 2021-09-07 12:45:37 +03:00
ghassmo
c4aa2bab33 add test cases to cashierdb 2021-09-07 12:44:48 +03:00
ghassmo
e9bbba839c unify the order of keypair inside cashierdb 2021-09-07 12:41:57 +03:00
ghassmo
8463e9c3a7 fix typo in walletdb destroy function 2021-09-07 12:39:03 +03:00
ghassmo
ca438923b0 change the way of constructing both walletdb and cashierdb 2021-09-07 11:50:12 +03:00
parazyd
dd48b36fdc TODO: SOL 2021-09-06 17:02:43 +02:00
lunar-mining
ff34a6adda updated todo 2021-09-06 16:58:06 +02:00
lunar-mining
22ef5b2a88 updated todo 2021-09-06 16:48:07 +02:00
narodnik
5b2da654b9 rename confusing h(X) to c(X) 2021-09-06 16:39:22 +02:00
Janus
51220703f6 Update TODO 2021-09-06 10:38:55 -04:00
lunar-mining
94c029d09f added other password instruction to readme 2021-09-06 10:56:55 +02:00
lunar-mining
4096f9f1a5 added cashierclient password to the readme 2021-09-06 10:39:03 +02:00
narodnik
fe27ccd122 lagrange basis doc 2021-09-06 00:34:34 +02:00
ghassmo
7a0c98682a key_gen() generating new keypair and add them to walletdb 2021-09-05 13:23:00 +03:00
ghassmo
78832bed3f check from walletdb if the cashier public key is valid 2021-09-05 12:40:35 +03:00
ghassmo
4c7493acf8 downgrade clap crate to 2.33.3 version 2021-09-05 12:32:12 +03:00
ghassmo
60b18e864f Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-05 11:10:59 +03:00
ghassmo
491762dfa8 create walletdb field for state and avoid using walletdb in other places 2021-09-05 11:08:36 +03:00
lunar-mining
9ac6412144 fixed error on README 2021-09-05 10:06:49 +02:00
ghassmo
cda82fce68 get witnesses and update them through walletdb 2021-09-05 10:15:56 +03:00
ghassmo
082fb64c84 add a script to run demo 2021-09-04 17:56:33 +03:00
ghassmo
fbe7cfc785 update .gitignore 2021-09-04 15:56:27 +03:00
ghassmo
023d75c46e change the paths of mint and spend params from project dir to the .config/darkfi 2021-09-04 15:55:04 +03:00
ghassmo
da8aab6c29 remove unused fields in WalletDb 2021-09-04 15:45:55 +03:00
ghassmo
ce56a17697 change the name of client rpc adapter and move it to src/rpc dir 2021-09-04 01:47:50 +03:00
ghassmo
167b3fad90 minor changes in client.rs 2021-09-04 00:38:46 +03:00
ghassmo
84773639e5 cargo fmt 2021-09-03 23:00:25 +03:00
ghassmo
e4004f5783 change the design of rpc adapter 2021-09-03 22:54:19 +03:00
ghassmo
6b5587586c add jsonrpc-core-client and jsonrpc-derive to Cargo.toml 2021-09-03 22:51:36 +03:00
ghassmo
23c1d0c667 fix typo in expect messages 2021-09-03 04:38:52 +03:00
ghassmo
864760df4a Cashier: avoid generating new keypair if keys exist in cashierdb 2021-09-03 04:24:32 +03:00
ghassmo
bbbf469b3d cargo fmt 2021-09-03 04:03:43 +03:00
ghassmo
6fa951b5f3 use debug macro instead of info for debugging & add proper name for target field in each debug macro 2021-09-03 03:56:27 +03:00
ghassmo
59436a1197 fix bugs in the process of withdrawing 2021-09-03 03:13:00 +03:00
ghassmo
133cd13654 update README.md 2021-09-01 15:50:29 +03:00
ghassmo
a362e6aff5 add and pass needed config params to cashierd 2021-09-01 15:46:29 +03:00
ghassmo
13519a7302 cargo fmt 2021-09-01 15:08:13 +03:00
ghassmo
d8eeb7656f Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-01 15:06:33 +03:00
ghassmo
4d35fc0e58 wrap client with mutex inside cashier service 2021-09-01 14:59:04 +03:00
Janus
c21699b312 Use shorthand for errors and fmt 2021-08-31 22:14:36 -04:00
Janus
e0e75e7149 Cleanup start_subscribe for btc watching 2021-08-31 16:49:18 -04:00
Janus
a85b840af0 Return GetBalanceRes when scriptpubkey balance is confirmed 2021-08-31 11:52:10 -04:00
ghassmo
7283cc4ada minor changes in walletdb.rs 2021-08-31 14:40:47 +03:00
ghassmo
cd07494953 remove cash_gen_key function from walletdb.rs 2021-08-31 14:32:12 +03:00
ghassmo
4a1716bd3d update todo.md 2021-08-31 14:30:45 +03:00