Commit Graph

1599 Commits

Author SHA1 Message Date
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
ghassmo
93cffa7f09 walletdb: modify and fix tests 2021-10-02 11:34:37 +03:00
parazyd
014394d95d service/sol: Fix subscription for unfunded/uninitialized SPL token address. 2021-10-02 09:32:10 +02:00
lunar-mining
cf5f063a69 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-10-02 08:58:20 +02:00
lunar-mining
e8f5d41182 walletdb: modified tests 2021-10-02 08:57:52 +02:00
lunar-mining
2024636ab5 client: get_token_id 2021-10-02 08:57:41 +02:00
ghassmo
d17fe63b43 implement withdraw in darkfid & remove Executor from cashierd and
darkfid
2021-10-02 09:51:09 +03:00
lunar-mining
f1fd411d86 walletdb: fixed bug on tests and another index error 2021-10-02 08:22:58 +02:00
lunar-mining
25913353db walletdb: fix indexing bug on queries 2021-10-02 08:08:52 +02:00
lunar-mining
b98754eb8d cleaned up tests 2021-10-02 07:59:36 +02:00
lunar-mining
52f52023ae walletdb: get_token_id and get_token_table 2021-10-02 07:35:42 +02:00
ghassmo
8529441b5a jsonrpc: fix error codes 2021-10-02 07:45:41 +03:00
ghassmo
44cb4871e6 add empty name to NetworkName for no-features build & more cleanups 2021-10-02 07:30:40 +03:00
parazyd
c889118566 Fix cashierdb tests. 2021-10-01 14:49:30 +02:00
parazyd
24d7330f8f Move client module to src root. 2021-10-01 14:16:36 +02:00
parazyd
b77da89ce6 Some more cleanups and formatting. 2021-10-01 14:10:30 +02:00
ghassmo
606b06b89e cashierd, darkfid: fix parsing erros 2021-10-01 05:53:27 +03:00
ghassmo
8c54784bf6 add more errors type for jsonrpc & clean up some unwrap calling 2021-10-01 05:23:26 +03:00
ghassmo
f112a8abd2 no need to use Mutex for Client inside cashierd and darkfid & clean up 2021-10-01 04:57:01 +03:00
Janus
7fcfffd171 Add secp256k1 keypair type for btc 2021-09-30 19:26:19 -04:00
lunar-mining
a493c34f85 todo: added outstanding items 2021-09-30 23:43:46 +02:00
lunar-mining
ceff4e9e03 util/parse: fixed errors caused by merge 2021-09-30 23:28:18 +02:00