Commit Graph

908 Commits

Author SHA1 Message Date
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
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
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
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