Commit Graph

1657 Commits

Author SHA1 Message Date
ghassmo
4e76f008f8 slabstore: add debug messages 2021-10-09 08:53:10 +03:00
ghassmo
fa7d049547 Client: minor changes 2021-10-08 12:23:16 +03:00
ghassmo
869452b901 update owncoin when spend it 2021-10-08 11:56:32 +03:00
ghassmo
6f231b3973 drk: add tokens to table row 2021-10-08 10:26:40 +03:00
ghassmo
e4b8860840 walletdb: use secert key to save owncoin instead of key_id 2021-10-08 10:20:09 +03:00
ghassmo
7ce07d380f Client: print main_keypair 2021-10-08 10:20:09 +03:00
lunar-mining
b112817c56 drk: print table to stdout 2021-10-08 09:14:17 +02:00
lunar-mining
39ab473514 drk: manually enter rows in prettytable 2021-10-07 17:25:08 +02:00
lunar-mining
7742f71a0e walletdb: enabled test_get_balances 2021-10-07 16:43:31 +02:00
lunar-mining
1c1816e725 drk: get_balances() and prettytable 2021-10-07 15:56:12 +02:00
lunar-mining
d5e7d00e0a Cargo.toml: added prettytable-rs 2021-10-07 14:17:01 +02:00
lunar-mining
607b5f6144 darkfid: cleaned error handling on get_balances 2021-10-07 14:04:56 +02:00
lunar-mining
41a8acae04 changed HashMap<String, u64> to HashMap<Vec<u8>, u64> 2021-10-07 13:45:17 +02:00
lunar-mining
90b0dd9f60 changed balances hashmap to <String, u64> 2021-10-07 13:38:09 +02:00
lunar-mining
cf09678f3a darkfid: finalized get_balances 2021-10-07 12:32:00 +02:00
lunar-mining
2ba7242744 walletdb: disabled test_token_table 2021-10-07 12:21:51 +02:00
lunar-mining
9aee4de2ce darkfid: draft get_balances 2021-10-07 12:10:10 +02:00
lunar-mining
b98dda09a0 client: enabled get_balances 2021-10-07 12:10:10 +02:00
lunar-mining
5afc977910 walletdb: renamed test 2021-10-07 12:10:10 +02:00
lunar-mining
02ad07e01f tokenlist: symbol_from_id 2021-10-07 12:10:05 +02:00
ghassmo
042b298c6e token_list: generate the id inside the hashmap from token id instead of token symbol 2021-10-07 12:30:58 +03:00
lunar-mining
0b2d1434e2 walletdb: refactored TokenTable into hashmap. renamed get_token_table to get_balances 2021-10-07 11:05:50 +02:00
lunar-mining
082e600fbc README: added faucet/airdrop instructions 2021-10-07 09:51:45 +02:00
lunar-mining
a10ccfcf44 README: cut create/keygen instructions 2021-10-07 09:51:45 +02:00
lunar-mining
c8c932b149 drk: get_tokens function 2021-10-07 09:51:45 +02:00
ghassmo
cb20d462c4 darkfid: bug fixing and more clean ups 2021-10-07 10:48:58 +03:00
ghassmo
1d51af5489 Client: check if there is enough value for the desired token_id before
transfer
2021-10-07 10:42:10 +03:00
ghassmo
7c22cd645c walletdb: fix a bug in token_id_exists() function 2021-10-07 10:18:54 +03:00
ghassmo
25aa1200c0 darkfid: call to_uppercase() when get token_id from hashmap 2021-10-07 10:17:21 +03:00
ghassmo
e418fa20ac darkfid: don't clone drk_tokenlist and sol_tokenlist to save allocations 2021-10-07 09:42:23 +03:00
ghassmo
f38bf84efe drk: more clear cli info 2021-10-07 09:33:22 +03:00
ghassmo
c12f64ab78 clean up debug messages 2021-10-07 09:33:08 +03:00
ghassmo
56ef0af458 bin/tx: bring state_transition function to tx.rs file 2021-10-07 09:04:02 +03:00
ghassmo
bd9c6d47b9 update the example of cashierd config file 2021-10-07 09:03:35 +03:00
ghassmo
d60c06c81f minor changes 2021-10-07 08:45:33 +03:00
ghassmo
d2e4b2a704 bugfix: move zero bits append in spend contract 2021-10-07 06:02:37 +03:00
narodnik
298e5ed0f1 bugfix: move zero bits append in mint contract 2021-10-06 13:42:17 +02:00
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