Commit Graph

1735 Commits

Author SHA1 Message Date
ghassmo
9e03e020fd bridge: reverse truncate when withdraw the token 2021-10-14 10:26:50 +03:00
ghassmo
55491c2d0c util/parse: add more tests for truncate function 2021-10-14 10:26:50 +03:00
ghassmo
54edda9a9e cashierd: truncate received tokens amount to 8 decimals 2021-10-14 10:26:50 +03:00
ghassmo
22e92c659b util/parse: add truncate function 2021-10-14 10:26:50 +03:00
ghassmo
27bd5e741f drk: print clear message when transfer is done 2021-10-14 10:26:50 +03:00
ghassmo
7cdd958a99 bridge: add decimals of token to TokenNotification struct 2021-10-14 10:26:50 +03:00
lunar-mining
d249a4a683 todo: added #token section 2021-10-14 08:43:44 +02:00
Janus
a18d18161c Add remaining steps for btc to todo 2021-10-13 17:04:15 -04:00
Janus
1aa3dfc177 Update README instructions 2021-10-13 16:01:56 -04:00
ghassmo
d9fba03797 cashierdb: fix bug when truncate the received amount 2021-10-13 18:06:10 +03:00
ghassmo
573f7541d9 cashierdb: fix bug 2021-10-13 17:56:43 +03:00
ghassmo
9c3dadbae1 sol: minor changes 2021-10-13 17:55:45 +03:00
ghassmo
0e10a7da76 sol: calculate fee when check main account balance 2021-10-13 17:28:19 +03:00
ghassmo
69776a1801 organize the order of using dependencies across the whole project 2021-10-13 16:54:20 +03:00
ghassmo
a446623137 sol: print warn message when there is no enough funds in the main account 2021-10-13 16:40:43 +03:00
ghassmo
8767b7c068 update todo.md 2021-10-13 16:29:51 +03:00
ghassmo
cba6ef2555 more clean up 2021-10-13 16:27:32 +03:00
ghassmo
b974aa4663 Client: clean up 2021-10-13 16:21:29 +03:00
ghassmo
1d23d4c29d darkfid: clean up 2021-10-13 16:16:40 +03:00
ghassmo
581dfd89de error: add CashierKeysNotFound error 2021-10-13 16:16:23 +03:00
ghassmo
7b01ea9bea Merge branch 'cashier_public_keys' 2021-10-13 16:07:31 +03:00
ghassmo
a73da61ec0 sepreate state object from Client 2021-10-13 15:53:49 +03:00
ghassmo
b67a8d039d remove get_cashier_public() test from walletdb 2021-10-13 15:53:23 +03:00
ghassmo
1607db79b7 remove build_tx.rs test bin 2021-10-13 15:53:02 +03:00
lunar-mining
165b8be75f cashierd: empty vector hack to make client compile 2021-10-13 13:56:52 +02:00
lunar-mining
38ce524865 darkfid: error handling for empty cashier pub key 2021-10-13 13:56:21 +02:00
lunar-mining
85d9590516 simplified naming of cashier params 2021-10-13 11:26:17 +02:00
lunar-mining
d97bb6427e build_tx: added cashier vec to State 2021-10-13 11:14:56 +02:00
lunar-mining
d761eadeb2 cashierd: pass empty key vector to Client 2021-10-13 11:04:41 +02:00
lunar-mining
c0ba3d75d1 client::State: updated is_valid_cashier_public_key 2021-10-13 10:41:14 +02:00
Janus
5d72769fe0 Add signing for btc transactions 2021-10-13 02:33:19 -04:00
Janus
9dda5ceab1 Implement subscribe with keypair on btc 2021-10-13 02:33:19 -04:00
Janus
e9aca1dbf5 Build transactions with btc 2021-10-13 02:33:19 -04:00
lunar-mining
624ba86c02 darkfid, client: added cashier_public_keys vector
disabled public key check
2021-10-12 14:25:37 +02:00
lunar-mining
417c0d902b walletdb: disabled get_cashier_public 2021-10-12 14:25:03 +02:00
lunar-mining
be67c352ef schema.sql: removed cashier table 2021-10-12 13:56:36 +02:00
lunar-mining
c8fb0f35e4 darkfid: updated rpc url to read from cashier vec
disabled cashier config options from darkfid cli
2021-10-12 13:55:28 +02:00
lunar-mining
8ff0303cb4 cli/ config: added cashier vec to darkfid.toml 2021-10-12 13:30:41 +02:00
lunar-mining
e5da4c6d8e example/ config: added cashier vec to darkfid.toml 2021-10-12 13:30:23 +02:00
ghassmo
b8c05892c4 darkfid: more clean up in get_balances() function 2021-10-12 13:04:44 +03:00
ghassmo
e94452ad3d util/parse: remove decimals function 2021-10-12 12:49:34 +03:00
ghassmo
a541cd088e token_list: use drk_tokenlist as a reference 2021-10-12 12:45:33 +03:00
ghassmo
1de9af5211 darkfid: clean up & truncate amount for withdraw 2021-10-12 12:34:46 +03:00
lunar-mining
f53a5238fa todo: removed completed item 2021-10-12 11:20:49 +02:00
lunar-mining
5102102d95 renamed 'asset' to 'token' across project 2021-10-12 11:20:20 +02:00
ghassmo
3ba34fe2ae cashierd: truncate received_balance to 8 digits 2021-10-12 12:14:46 +03:00
lunar-mining
5cae0cf6e0 walletdb: fixed get_token_id test 2021-10-12 11:09:59 +02:00
lunar-mining
4727914b85 renamed asset_id to token_id across project 2021-10-12 11:09:59 +02:00
ghassmo
893ef5b3f7 revert: "darkfid: fix amount bug when withdraw/transfer" 2021-10-12 09:49:48 +03:00
ghassmo
bb029eadc7 revert: "util/parse: decimals function does not need network params" 2021-10-12 09:49:09 +03:00