Commit Graph

1236 Commits

Author SHA1 Message Date
ghassmo
2eba4b6758 update todo.md 2021-09-12 02:13:06 +03:00
ghassmo
f765c60558 finish sol client for cashier's bridge 2021-09-12 01:51:10 +03:00
ghassmo
be4746324b add SolFailed error to error.rs 2021-09-12 01:41:46 +03:00
ghassmo
03ebecbbb9 impl Encodable and Decodable for [u8; 64] 2021-09-12 01:40:42 +03:00
ghassmo
fe57c78daf add ed25519-dalek crate solana dependencie 2021-09-12 01:39:26 +03:00
ghassmo
43ec92c3e5 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-10 19:02:16 +03:00
ghassmo
44a2d95370 fix errors related to sterilization of addresses between rpc and cashier 2021-09-10 19:01:46 +03:00
narodnik
dfe293778d todo.md: add bitreich halo2 tool item 2021-09-10 16:49:00 +02:00
narodnik
45218fb0af expand todo.md with research topics 2021-09-10 16:47:23 +02: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
11b8c8e50a added sqlcipher to readme and updated todo.md 2021-09-10 10:32:17 +02: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
ghassmo
88b7749fe5 add demo config files in /examples/configs 2021-09-09 13:05:32 +03:00
ghassmo
38302db2ec add test password to config in README.md 2021-09-09 12:47:41 +03:00
lunar-mining
545fd64a19 another minor readme fix 2021-09-09 10:09:27 +02:00
lunar-mining
effb57abc8 small tweak to readme 2021-09-09 09:44:51 +02:00
lunar-mining
64ed59aaeb updated todo.md 2021-09-09 09:36:08 +02:00
lunar-mining
3c42509460 added default TOMLs to readme 2021-09-09 09:35:17 +02: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
parazyd
c25ad3bad3 TODO: Add note on Cargo features. 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