Commit Graph

1159 Commits

Author SHA1 Message Date
ghassmo
c30681a35b error: imple Error for EthFailed 2021-10-27 11:50:57 +03:00
ghassmo
8b48849c77 eth: implement EthFailed and EthResult 2021-10-27 11:49:45 +03:00
ghassmo
b03b2352cf sol: clean up and fix error types 2021-10-27 11:49:04 +03:00
parazyd
743ab63af6 cashierd: Add a dns_addr field in the config, and serve features with config. 2021-10-27 08:36:03 +02:00
ghassmo
169c29c127 util/address: impl Display for Address 2021-10-27 03:42:02 +03:00
ghassmo
e52edfcf27 util: create Address struct for drk address 2021-10-27 03:37:04 +03:00
ghassmo
817ef2d3b2 expand the paths when use config flag with drk and gatewayd 2021-10-27 01:10:00 +03:00
ghassmo
b29d88651f darkfid: pass cashier public key when run cashier locally 2021-10-27 01:07:56 +03:00
ghassmo
7dd9572755 cashierd: return expanded info for features rpc response 2021-10-27 01:05:46 +03:00
ghassmo
0a105db2fe util: add Ethereum to Networks enum 2021-10-26 16:33:28 +03:00
ghassmo
d38b0808a0 eth: WIP implement subscribe function 2021-10-26 16:22:19 +03:00
ghassmo
8052fcca3a eth: impl base NetworkClient functions for EthClient 2021-10-26 14:59:02 +03:00
Janus
51ea7cc904 btc: undo unecessary check for spent address 2021-10-26 01:29:17 -04:00
Janus
5731132f46 Apply rustfmt 2021-10-25 23:16:08 -04:00
Janus
baea27c543 btc: Issue a new keypair if old key has been used 2021-10-25 23:16:08 -04:00
Janus
879e0b48f9 Fix warnings 2021-10-25 23:16:08 -04:00
Janus
ab9e6657fa Remove unused trait 2021-10-25 23:16:08 -04:00
Janus
4c116ec609 Apply rustfmt 2021-10-25 23:16:08 -04:00
Janus
2efe436c0f Remove non-existing tx from script history 2021-10-25 23:16:08 -04:00
Janus
05d036c642 Implement custom script subscribe for btc 2021-10-25 23:16:08 -04:00
parazyd
1a97a966e0 Update to new stable rust 2021. 2021-10-25 23:31:21 +02:00
parazyd
87614ab70f tokens: Move test list to testdata directory. 2021-10-25 22:26:39 +02:00
parazyd
34cbcfb87b service/eth: Add proof of concept Geth interface. 2021-10-25 21:07:21 +02:00
parazyd
498cda60b4 util/parse: Use BigUint for decode_base10.
This could use some further testing.
2021-10-25 21:07:08 +02:00
parazyd
1abd52f5c6 tokens: Make TokenList generic. 2021-10-25 21:06:13 +02:00
ghassmo
61fea1802d cashierd: add refresh option 2021-10-25 19:21:41 +03:00
ghassmo
56a77f8bf3 darkfid: fix the json response's id 2021-10-25 17:50:48 +03:00
parazyd
57675004fc walletdb: Clean up some variable param passing. 2021-10-25 11:52:19 +02:00
ghassmo
b50afdd8b8 walletdb: update schema data types & use boolean for is_spent 2021-10-25 12:02:27 +03:00
ghassmo
49b363028a derive PartialEq for Coin and Nullifier 2021-10-25 11:48:32 +03:00
ghassmo
58940eb228 darkfid: get nullifier from walletdb instead of calculate it 2021-10-25 11:41:02 +03:00
ghassmo
82a78e078c add nullifier to walletdb and attached to OwnCoin 2021-10-25 11:40:51 +03:00
ghassmo
d5eb67ad56 crypto: impl PartialEq and Clone for Nullifier 2021-10-25 11:38:34 +03:00
Matthias Seitz
9aba83235c rustfmt 2021-10-25 09:57:12 +02:00
Matthias Seitz
0e9de335a1 chore: clippy --fix 2021-10-25 09:57:12 +02:00
Janus
cdf8f6ad0f Replace script_pubkey with address for return 2021-10-23 18:34:22 -04:00
ghassmo
49db3c1ea3 darkfid: check if the own coins have not spent before print balances and transfer 2021-10-24 01:31:04 +03:00
ghassmo
17b95d229b client: simplify the code and clean up 2021-10-24 01:30:01 +03:00
ghassmo
1cb214dcbd btc: don't call unwrap() 2021-10-23 13:44:36 +03:00
ghassmo
5189cb0670 client: check from the tx if it's valid before send it to gateway 2021-10-23 12:41:20 +03:00
ghassmo
178058a4fb service/btc: remove unwrap and avoid panic 2021-10-23 12:40:14 +03:00
ghassmo
e051b96fc9 darkfid: add option to refresh the wallet and the database 2021-10-23 12:15:26 +03:00
ghassmo
e50f7ec928 gateway: print more clear message when slabstore has higher index than gateway's slabstore 2021-10-23 12:14:34 +03:00
ghassmo
a253ac2296 walletdb: add a function to remove OwnCoins 2021-10-23 12:13:42 +03:00
ghassmo
f02ef68c6e crypto: impl PartialEq for Coin 2021-10-23 12:12:56 +03:00
Janus
8e34731ee3 Return same btc script pubkey after re-request 2021-10-23 02:13:55 -04:00
ghassmo
cdf18a7ea5 util/parse: fix tests 2021-10-23 00:25:35 +03:00
parazyd
43ed3052e4 rpc/jsonrpc: Implement requests over Unix sockets. 2021-10-22 16:46:01 +02:00
parazyd
c6a9d644d1 util/parse: Use BigUint for encode_base10(). 2021-10-22 16:45:13 +02:00
parazyd
0817c97754 jsonrpc: Rename send_request() to send_raw_request(). 2021-10-22 13:39:36 +02:00