ghassmo
|
44a2d95370
|
fix errors related to sterilization of addresses between rpc and cashier
|
2021-09-10 19:01:46 +03:00 |
|
ghassmo
|
fecbb7894b
|
initialize walletdb when darkfid start
|
2021-09-10 15:35:56 +03:00 |
|
ghassmo
|
bbe0ce5643
|
pass asset_id when send request to cashier
|
2021-09-10 14:36:46 +03:00 |
|
ghassmo
|
9f8444d699
|
Merge branch 'master' of github.com:darkrenaissance/darkfi
|
2021-09-10 13:09:29 +03:00 |
|
ghassmo
|
df97ccf8fb
|
make [btc] feature optional and the default one & enable [sol] as optional feature
|
2021-09-10 13:02:43 +03:00 |
|
ghassmo
|
0e34beb106
|
add sol struct to the bridge
|
2021-09-10 13:02:01 +03:00 |
|
ghassmo
|
7f1ba3f882
|
creat bridge and add refactoring cashier to work with bridge
|
2021-09-10 12:59:53 +03:00 |
|
lunar-mining
|
edb25d3a17
|
deleted zkvm
|
2021-09-10 10:16:28 +02:00 |
|
lunar-mining
|
75296e9083
|
more verbose no config warning
|
2021-09-10 10:12:07 +02:00 |
|
lunar-mining
|
a5ad575695
|
removed redundant serde default tag
|
2021-09-10 10:04:41 +02:00 |
|
ghassmo
|
afae1cc619
|
make cashierdb generic and use asset_id with each keys saved
|
2021-09-09 15:20:31 +03:00 |
|
ghassmo
|
606cf7a3a8
|
impl Decodable and Encodable for btc address
|
2021-09-09 14:22:23 +03:00 |
|
ghassmo
|
1e210f9945
|
create new error type for btc client
|
2021-09-09 13:59:06 +03:00 |
|
lunar-mining
|
b37eebeb91
|
ran cargo fmt
|
2021-09-09 09:10:00 +02:00 |
|
lunar-mining
|
399dffa7e5
|
removed default config and added ConfigNotFound error
|
2021-09-09 09:09:19 +02:00 |
|
parazyd
|
124ded7ebd
|
rpc/jsonrpc: Don't use return keyword.
|
2021-09-08 17:07:49 +02:00 |
|
parazyd
|
5e3a5c9870
|
solana: Add POC for watching pubkeys for transactions.
|
2021-09-08 16:54:54 +02:00 |
|
ghassmo
|
1269c594f8
|
Client: add clear_inputs option when build tx
|
2021-09-08 17:52:08 +03:00 |
|
ghassmo
|
af8851aaa4
|
call wallet init_db() function when cashier daemon start
|
2021-09-08 17:16:15 +03:00 |
|
ghassmo
|
5fe2970827
|
refactoring and cleaning up functions inside cashierdb
|
2021-09-08 17:01:17 +03:00 |
|
ghassmo
|
48a058f16b
|
client notify cashier once receive Coin and successfully decrypted
|
2021-09-08 15:18:00 +03:00 |
|
ghassmo
|
7d1d97c5ba
|
Add a function to cashierdb to get all withdraws private keys and a
function to delete withdraws keys records by btc address
|
2021-09-08 15:16:06 +03:00 |
|
ghassmo
|
d32884c75a
|
clean up mint_dbtc function in cashier service
|
2021-09-08 01:39:01 +03:00 |
|
ghassmo
|
126decbd94
|
Client: minor changes
|
2021-09-08 01:38:27 +03:00 |
|
ghassmo
|
4f0ab6e569
|
remove keys related functions in cashierdb and remove keys table from cashierdb's schema. cashier no longer handle private and public keys
|
2021-09-08 01:30:00 +03:00 |
|
ghassmo
|
4fe2138dfd
|
remove warning messages
|
2021-09-08 01:29:16 +03:00 |
|
ghassmo
|
4b494624d0
|
move duplicate functions in walletdb and cashierdb to walletapi
|
2021-09-08 01:14:38 +03:00 |
|
ghassmo
|
1ac21e5c5b
|
Client: add send function and send the tx with a desired inputs and outputs according to the amount
|
2021-09-07 22:46:42 +03:00 |
|
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 |
|
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
|
491762dfa8
|
create walletdb field for state and avoid using walletdb in other places
|
2021-09-05 11:08:36 +03:00 |
|
ghassmo
|
cda82fce68
|
get witnesses and update them through walletdb
|
2021-09-05 10:15:56 +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
|
23c1d0c667
|
fix typo in expect messages
|
2021-09-03 04:38:52 +03:00 |
|