Commit Graph

1620 Commits

Author SHA1 Message Date
lunar-mining
85ef5bc96e tx.rs: partially revived isolated testcase 2021-10-06 12:43:13 +02:00
lunar-mining
f641ab02d6 spend_contract: cleaned up boilerplate and mimic earlier ordering 2021-10-06 11:58:08 +02:00
lunar-mining
3166a44ef4 mint_contract: changed the order of 'preimage.extend' to reflect earlier commit. cleaned more boilerplate 2021-10-06 11:48:29 +02:00
lunar-mining
79ea1294b7 mint_contract: changed add zero bits to a for loop to reduce boilerplate 2021-10-06 11:26:01 +02:00
lunar-mining
02ae6bf9a2 spend_contract: removed dupliate asset_id assignment 2021-10-06 11:04:21 +02:00
ghassmo
7f499924fa util/parse: return proper error type 2021-10-06 11:24:57 +03:00
ghassmo
9a02db199b error: categorize the errors 2021-10-06 11:18:09 +03:00
ghassmo
0a74711bff drk: check cashier features before send get_token_id request 2021-10-06 11:00:40 +03:00
ghassmo
164757f17b darkfid: check the network when receive get_token_id request 2021-10-06 10:57:14 +03:00
ghassmo
46d13d640c drk: pass network param when send get_token_id request 2021-10-06 10:55:53 +03:00
ghassmo
eeb1a9fa36 add NotSupportedToken to error.rs 2021-10-06 10:55:20 +03:00
ghassmo
c66d2ad7c6 update todo.md 2021-10-06 10:32:01 +03:00
ghassmo
bc1ee9f25b drk: clean up TODOs 2021-10-06 10:31:28 +03:00
ghassmo
0b03c013f1 remove old util file 2021-10-06 09:59:10 +03:00
ghassmo
bddbad9b37 update todo.md 2021-10-06 09:55:33 +03:00
ghassmo
da472dc2b7 save allocations by passing a reference of token list 2021-10-06 09:51:15 +03:00
ghassmo
712480f827 drk: Retrieve cashier features before send withdraw/deposit request 2021-10-06 09:37:03 +03:00
ghassmo
548a15bfd6 token_list: add robust tests and clean up 2021-10-06 08:59:41 +03:00
ghassmo
5f59270d2b darkfid: clean up 2021-10-06 08:41:26 +03:00
ghassmo
1735b4982b sol: clean up & finish TODOs 2021-10-06 07:30:32 +03:00
ghassmo
5800374e61 wallet_api: pass a reference to get_value_deserialized() function 2021-10-06 06:28:05 +03:00
ghassmo
587ff795ea clean up TODOs 2021-10-06 06:22:25 +03:00
Janus
47f2b4f372 Use Keypair to derive bitcoin keys 2021-10-04 16:05:59 -04:00
lunar-mining
9941a6d2cd todo: updated v0 tasks 2021-10-04 16:35:23 +02:00
parazyd
411f10ab6d sol: Compile token list inside the program.
The reasoning is we support arbitrary tokens, and this is simply a
helper for token aliases. If updates are necessary, they should be
pushed to git, and the binaries recompiled.
2021-10-04 10:27:44 +02:00
ghassmo
8bb85c9ade create demo build tx for testing 2021-10-04 11:25:32 +03:00
ghassmo
34386713b1 remove sol-test bin 2021-10-04 10:03:19 +03:00
ghassmo
e830cafc17 return MintProof error when verify_mint_proof function return false 2021-10-04 10:02:16 +03:00
ghassmo
cbf4ec73fb Client: print error message come from state_transition function 2021-10-04 09:14:43 +03:00
ghassmo
d327f4c55e update darkfid config file in example 2021-10-04 09:14:17 +03:00
ghassmo
45324b3c89 clean up & fix bugs & add debug messages 2021-10-04 08:05:42 +03:00
lunar-mining
fdc57c523e todo: completed transfer ID check, added pretty table 2021-10-03 13:04:59 +02:00
lunar-mining
4c7a7c64f2 darkfid: implemented transfer 2021-10-03 12:49:54 +02:00
lunar-mining
b38aca87b0 token_list: create drk_tokenlist hashmap from two iterators 2021-10-03 11:04:21 +02:00
lunar-mining
7e71ebb7e9 token_list: made new search_all_id function for traversing the loop 2021-10-03 09:13:06 +02:00
lunar-mining
09462a41ef token_list: disabled erroring code 2021-10-03 08:48:39 +02:00
ghassmo
58a3b53928 fix bugs and add more debug messages 2021-10-03 09:31:31 +03:00
lunar-mining
6bcc82c829 darkfid: added drk_tokenlist 2021-10-03 08:29:18 +02:00
lunar-mining
02d3f56bfa renamed TokenList to SolTokenList 2021-10-02 21:46:25 +02:00
lunar-mining
82d300dccc token_list: refactored TokenList and fixed generate_id error 2021-10-02 21:41:28 +02:00
lunar-mining
4a17cf0a12 cashierd: re-renamed validate_token_id to check_token_id 2021-10-02 19:47:02 +02:00
lunar-mining
ca2fc9f361 token_list: write NetworkName, tokenID to drk_tokenlist hashmap 2021-10-02 19:26:51 +02:00
lunar-mining
a0e637b133 token_list: get_symbols function and test case 2021-10-02 19:26:51 +02:00
ghassmo
e78f59801d walletdb: add test case for load and save cashier public key 2021-10-02 18:43:03 +03:00
ghassmo
dcd503d521 cashierd: add cli option to print the public key 2021-10-02 18:38:22 +03:00
ghassmo
417562480f darkfid: add cli option to set the cashier public key 2021-10-02 18:37:48 +03:00
ghassmo
285195403f walletdb: pass cashier public key as jubjub::SubgroupPoint instead of
vec<u8>
2021-10-02 18:36:36 +03:00
ghassmo
b0faeb462f cleanup and add debug messages 2021-10-02 17:54:08 +03:00
parazyd
9f05850996 service/sol: Send pings over websocket while connected.
It seems the Solana Websocket server is not sending pings itself,
which leads to TLS close-notify and breaks the subscription. One
solution to this is to keep sending PING frames until we receive
the notification we actually want.
2021-10-02 14:18:34 +02:00
ghassmo
55ca1c89b6 walletdb: remove unwrap() calling and more cleanups 2021-10-02 11:56:05 +03:00