Commit Graph

1469 Commits

Author SHA1 Message Date
ghassmo
aed1a17f1f BtcClient: minor changes 2021-09-27 16:16:57 +03:00
ghassmo
d81cca4030 BtcClient: remove hardcoded network endpoints 2021-09-27 15:49:26 +03:00
Janus
780d9ccb3a Restructure BitcoinKeys 2021-09-27 08:23:41 -04:00
Janus
0e56638463 Remove commented btc fn from cashierdb 2021-09-27 08:23:06 -04:00
Janus
21298801b4 Add rand feature to secp256k1 crate 2021-09-27 08:20:53 -04:00
parazyd
5e9a87eed9 sol: Don't hardcode network endpoints. 2021-09-27 12:06:43 +02:00
lunar-mining
11230c6252 renamed parse_token() to symbol_to_id() 2021-09-27 10:14:52 +02:00
lunar-mining
97083e4592 renamed parse_id to generate_id 2021-09-27 10:10:38 +02:00
lunar-mining
5031d8a7d5 todo: standardize 'asset' to 'token' 2021-09-27 10:01:11 +02:00
lunar-mining
190c419f0b bin/darkfid: implemented transfer() 2021-09-27 09:52:50 +02:00
lunar-mining
9964cb301f darkfid.toml, cli/cli_config: added gateway URLs and mint/spend path 2021-09-27 08:34:38 +02:00
ghassmo
027fa103f2 SolClient: WIP clean up & change subscribe commitment to finalized & calculate the fee when send received balance to main keypair 2021-09-26 21:38:09 +03:00
ghassmo
6d40023181 change futures crate version 2021-09-26 21:37:48 +03:00
ghassmo
dbafb55bb2 Bridge: change struct name of TokenClient to NetworkClient & minor
changes
2021-09-25 22:30:13 +03:00
lunar-mining
8c502a6c7c src/util: return token_id if serialize correctly 2021-09-25 20:35:29 +02:00
lunar-mining
e40b197598 src/error: added NetworkParse error 2021-09-25 20:34:47 +02:00
lunar-mining
e42ad6dad3 bin/darkfid: parse network and token param 2021-09-25 20:34:19 +02:00
lunar-mining
20b91a2465 todo: deleted completed todos 2021-09-25 14:40:13 +02:00
lunar-mining
f072ffbe13 bin/darkfid: key_gen() no longer returns tuple 2021-09-25 14:40:13 +02:00
lunar-mining
cc4cb9d774 wallet/walletdb: moved logic to top of key_gen() to prevent key re-generation 2021-09-25 14:40:13 +02:00
lunar-mining
1a2b82a67a wallet/walletdb: check key exists before writing key 2021-09-25 14:40:13 +02:00
ghassmo
e75142363f walletdb: change the name of walletdb in test function to avoid conflict 2021-09-25 12:45:01 +03:00
lunar-mining
0f4c5d163f temporarily disabled test files 2021-09-25 08:27:15 +02:00
ghassmo
be20a03a48 SolClient: WIP refactoring 2021-09-25 02:31:39 +03:00
ghassmo
eb4e8d4d0a cashierd: check if it's a valid token id when receive deposit/withraw
request
2021-09-24 22:02:04 +03:00
narodnik
6b690b9e2c halo2 lookup argument 2021-09-24 20:26:12 +02:00
ghassmo
be46172a00 update todo.md 2021-09-24 19:16:07 +03:00
ghassmo
ab4005117f cashierd: resume watch after restart 2021-09-24 19:15:12 +03:00
ghassmo
c12667f140 check if there is main keypair in cashierdb for token clients 2021-09-24 17:03:34 +03:00
ghassmo
d58e1e7f38 clean up walletdb 2021-09-24 16:56:21 +03:00
ghassmo
ba663c414a add main token keyparis to cashierdb with network name & add more tests
to cashierdb
2021-09-24 16:51:39 +03:00
ghassmo
9326e4cb2c clean up cashierdb 2021-09-24 16:36:26 +03:00
ghassmo
2a6b81e62c Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-24 16:02:45 +03:00
ghassmo
291f8d6910 fix test cases inside cashierdb and walletdb 2021-09-24 16:02:14 +03:00
lunar-mining
7501308f2b Revert "bin/darkfid: added 'put_keypair()' to 'key_gen()' method"
This reverts commit da1fa2799d.
2021-09-24 14:52:15 +02:00
ghassmo
5935d81782 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-24 15:04:29 +03:00
ghassmo
9a861cf363 finish adding solana network to the bridge 2021-09-24 15:03:54 +03:00
ghassmo
6096792aa0 pass network name to the bridge instead of asset_id 2021-09-24 15:03:04 +03:00
parazyd
72ae436249 Implement async Websocket client using smol. 2021-09-24 13:48:10 +02:00
lunar-mining
d968741394 todo.md: checked off completed items 2021-09-24 13:15:36 +02:00
narodnik
587a99a257 fix bug in halo2 sage script 2021-09-24 13:11:53 +02:00
lunar-mining
02487b8db2 Created 'initalized' boolean to check whether wallets are initialized. 2021-09-24 13:03:34 +02:00
lunar-mining
da1fa2799d bin/darkfid: added 'put_keypair()' to 'key_gen()' method 2021-09-24 12:08:11 +02:00
lunar-mining
2a668163eb bin/darkfid: cleaned up error handling 2021-09-24 10:18:27 +02:00
parazyd
f7d452ddc9 service/sol: Add function to validate token mint accounts. 2021-09-24 08:58:33 +02:00
narodnik
937a8e7870 add fflonk to research todo.md 2021-09-24 08:31:21 +02:00
ghassmo
4bca44e418 no need to remove entries anymore from walletdb and cashierdb in tests 2021-09-24 02:37:18 +03:00
parazyd
42eb893087 tests: Remove created test wallets when done. 2021-09-24 01:15:18 +02:00
parazyd
f33f2c30be More general cleanups and better config variable naming. 2021-09-24 01:08:56 +02:00
ghassmo
a279c86857 update todo.md 2021-09-24 01:07:42 +03:00