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
lunar-mining
f2049059e5
Merge branch 'util-refactor'
2021-09-30 23:24:37 +02:00
lunar-mining
9b376fe7c3
service/sol: updated generate_id
2021-09-30 23:19:36 +02:00
lunar-mining
77803f1040
replaced to_apo with decode_base10
2021-09-30 23:19:36 +02:00
lunar-mining
e67b8fc71b
util: simplified u64 conversion with str::parse()
2021-09-30 23:19:36 +02:00
lunar-mining
bf8d721951
token_list: fixed usize conversion error on search_decimal
2021-09-30 23:19:36 +02:00
lunar-mining
7c8576a29d
util: convert u32 to u64
2021-09-30 23:19:36 +02:00
lunar-mining
c048272b16
util: decimal() returns usize
2021-09-30 23:19:36 +02:00
lunar-mining
e4cfb8b7a5
util: remove decimal point if round number
2021-09-30 23:19:36 +02:00
lunar-mining
c6eee90912
util: replaced trim with trim_end_matches
2021-09-30 23:19:36 +02:00
lunar-mining
6f1ae05b99
util: decode_base10 and encode_base10 test cases
2021-09-30 23:19:36 +02:00
lunar-mining
dadf63ff98
bin/darkfid: parse transfer params
2021-09-30 23:19:36 +02:00
lunar-mining
c19fe7a697
util: clean up
2021-09-30 23:19:36 +02:00
lunar-mining
046273f060
disabled parse_params. replaced with to_apo() and decimals()
2021-09-30 23:19:36 +02:00
lunar-mining
4b7d9d9898
generate_id: added NetworkName. disabled parse_wrapped_token
2021-09-30 23:19:34 +02:00
lunar-mining
7fda3e8389
bin/cashierd: renamed check_token_id to validate_token_id
2021-09-30 23:17:22 +02:00
lunar-mining
4627c69b5f
renamed parse_network to assign_id
2021-09-30 23:14:42 +02:00
lunar-mining
7e43272995
util: refactored util.rs into util directory
2021-09-30 23:14:37 +02:00