Commit Graph

1137 Commits

Author SHA1 Message Date
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
Janus
6463a43b5b Remove logging 2021-10-21 23:23:45 -04:00
ghassmo
c0cbac5319 walletdb: relace the old coin 2021-10-21 11:57:27 +03:00
ghassmo
3ddd853d99 drk: print 0 when there is no balance in the wallet 2021-10-21 00:14:13 +03:00
ghassmo
d363c66b01 Revert "drk: removed annoying quotation mark code" 2021-10-20 23:59:44 +03:00
lunar-mining
5018370c43 drk: removed annoying quotation mark code 2021-10-20 22:15:54 +02:00
parazyd
8f16fd9f73 Revert "service/btc: Expire subscription after 10 minutes."
This reverts commit aefaebb6c6.
2021-10-20 21:57:23 +02:00
parazyd
ba6eeb5c08 service/sol: Add variable for subscription iteration interval. 2021-10-20 21:47:45 +02:00
parazyd
aefaebb6c6 service/btc: Expire subscription after 10 minutes. 2021-10-20 21:46:25 +02:00
parazyd
8d815c9516 bin/drk: Don't separate table rows when printing balances. 2021-10-20 21:31:28 +02:00
lunar-mining
b55faa91a3 drk: removed brackets from transfer print 2021-10-20 21:32:28 +02:00
lunar-mining
4e54d52d08 tokenlist: made 'btc' uppercase 2021-10-20 21:28:37 +02:00
ghassmo
46fa633574 walletdb: use coin itself as the primary key for coins table 2021-10-20 21:45:03 +03:00
ghassmo
1d0ffd2498 slabstore: fix a bug 2021-10-20 21:45:03 +03:00
parazyd
8cb2af3003 service/sol: Be more verbose on subscription init. 2021-10-20 20:30:03 +02:00
parazyd
9af7ce3ca6 service/sol: Expire subscriptions after 10 minutes. 2021-10-20 19:28:51 +02:00
parazyd
d5c0db1b4c net/channel: Prettyprint peer address. 2021-10-20 19:12:47 +02:00
lunar-mining
32888651bc client: fixed typo on error statement 2021-10-20 18:03:38 +02:00
lunar-mining
2b3a62dc1c drk: more verbose print message on transfer 2021-10-20 18:01:48 +02:00
lunar-mining
923fb45540 token_list: temporarily disabled len() assert on tokenlist 2021-10-20 15:48:27 +02:00
Janus
21500b0168 Apply rustfmt 2021-10-20 05:56:28 -04:00
Janus
c2c7418e9f Add btc to DrkTokenList 2021-10-20 05:55:11 -04:00
Janus
73262d3afe Send correct serialized format of tx to electrum 2021-10-20 05:54:25 -04:00