Commit Graph

1556 Commits

Author SHA1 Message Date
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
parazyd
ce2e5d60a2 util/parse: Implement base10 operations.
This should be equivalent to the code in libbitcoin:

https://github.com/libbitcoin/libbitcoin-system/blob/master/src/formats/base_10.cpp
2021-09-30 22:36:53 +02:00
lunar-mining
e2a21d2545 replaced to_apo with decode_base10 2021-09-30 18:46:03 +02:00
lunar-mining
a3173f3089 util: simplified u64 conversion with str::parse() 2021-09-30 18:37:35 +02:00
ghassmo
2c05b807c9 update todo.md 2021-09-30 19:25:41 +03:00
ghassmo
fbafdfe8c2 cashierd: send drk coins once received a notification from bridge 2021-09-30 19:24:02 +03:00
lunar-mining
9b71f28f26 token_list: fixed usize conversion error on search_decimal 2021-09-30 17:46:10 +02:00
lunar-mining
c784d0396c util: convert u32 to u64 2021-09-30 17:33:10 +02:00
lunar-mining
29d3040a29 util: decimal() returns usize 2021-09-30 17:14:10 +02:00
lunar-mining
1884a0d6d1 util: remove decimal point if round number 2021-09-30 16:49:36 +02:00
lunar-mining
675b7efd77 util: replaced trim with trim_end_matches 2021-09-30 16:37:50 +02:00
lunar-mining
bbba70b04b util: decode_base10 and encode_base10 test cases 2021-09-30 16:00:42 +02:00
ghassmo
e6834ea5b1 update todo.md 2021-09-30 16:51:59 +03:00
ghassmo
f09f6d6224 remove old cashier code from src/service 2021-09-30 16:51:06 +03:00
ghassmo
ff8c900ec2 bridge: pass mint_address when subscribe 2021-09-30 16:44:56 +03:00
ghassmo
2ee620ddcf cashierdb: add mint_address field 2021-09-30 16:43:05 +03:00
lunar-mining
0aa135c5b5 bin/darkfid: parse transfer params 2021-09-30 12:56:33 +02:00
lunar-mining
676b341f13 util: clean up 2021-09-30 12:19:33 +02:00
lunar-mining
3190f622d2 disabled parse_params. replaced with to_apo() and decimals() 2021-09-30 12:15:48 +02:00
lunar-mining
c43dbb5364 generate_id: added NetworkName. disabled parse_wrapped_token 2021-09-30 11:59:38 +02:00
lunar-mining
6a7e458c82 bin/cashierd: renamed check_token_id to validate_token_id 2021-09-30 11:24:36 +02:00
lunar-mining
a5f0e629ce renamed parse_network to assign_id 2021-09-30 11:22:34 +02:00
lunar-mining
181d337d6e util: refactored util.rs into util directory 2021-09-30 09:47:11 +02:00
ghassmo
178e4301e2 update todo.md 2021-09-29 21:15:52 +03:00
ghassmo
fb2f3324e4 service/sol: rename keypair to main_keypair 2021-09-29 20:48:06 +03:00
ghassmo
318d57d6dd Client: create main_keypair field 2021-09-29 20:41:29 +03:00
parazyd
6c2d9720ec bin/cashierd: Correct debug message. 2021-09-29 19:05:59 +02:00