Commit Graph

1780 Commits

Author SHA1 Message Date
lunar-mining
9a06bee2ac tutorial: fixed fmt errors 2021-10-19 12:07:11 +02:00
parazyd
b9542a71ed github: Update test workflow. 2021-10-19 11:44:00 +02:00
parazyd
6ba7bf5b29 Makefile: Update params download URL. 2021-10-19 11:36:58 +02:00
parazyd
8c42d5783e config: Update configuration files for testnet deployment. 2021-10-19 11:36:30 +02:00
parazyd
f13f6b0d4e gateway: Use a URI for configuration.
This will enable us to implement TLS later on without breaking the
config scheme.
2021-10-19 11:31:02 +02:00
parazyd
03b987d559 Update makefile for simple compile and install. 2021-10-19 11:00:48 +02:00
parazyd
38759fb950 Update Readme. 2021-10-19 10:45:13 +02:00
lunar-mining
b5989f9543 tutorial: documented config and install 2021-10-19 10:46:40 +02:00
parazyd
1e6fd06c3b bin: Fix debug targets for cashierd and darkfid. 2021-10-19 09:58:04 +02:00
Janus
c97f30f4dc Add minimal envrc for flake direnv 2021-10-18 23:46:40 -04:00
parazyd
ebd81989ac cargo fmt 2021-10-18 19:23:43 +02:00
parazyd
24d46a46dc Clean up and update project dependencies. 2021-10-18 19:19:20 +02:00
ghassmo
9c9d749cc9 run executor with the number of CPUs available 2021-10-18 18:57:08 +02:00
ghassmo
6ebd455dad add num_cpus crate 2021-10-18 18:57:07 +02:00
ghassmo
f3d6156c4c add executor across the whole project to run on more than one thread 2021-10-18 18:57:07 +02:00
parazyd
3d20d13e00 Cargo.toml: Compile own sqlcipher for rusqlite. 2021-10-18 18:25:23 +02:00
lunar-mining
be373fcbd1 todo: added demo todos 2021-10-18 18:21:03 +02:00
ghassmo
13aa285062 darkfid: check the token's network when print balances 2021-10-17 14:09:29 +03:00
parazyd
b399d54ff2 util/parse/truncate: Don't reallocate amount vec in for loop. 2021-10-17 10:39:44 +02:00
ghassmo
043bb61f78 clean up 2021-10-17 08:40:26 +03:00
ghassmo
2ba3e7e033 sol: fix a bug & clean up 2021-10-16 08:15:04 +03:00
ghassmo
fd7c004927 darkfid: clean up & minor changes 2021-10-16 07:55:54 +03:00
ghassmo
27a4434fb1 cashierd: clean up 2021-10-16 07:45:40 +03:00
ghassmo
32e5ab6562 more clean up and minor changes 2021-10-15 14:09:47 +03:00
ghassmo
4a10769708 cashierdb: add more explicit types 2021-10-15 13:43:34 +03:00
ghassmo
4c5ab0da80 cashierdb: create MainTokenKey struct 2021-10-15 11:13:49 +03:00
ghassmo
31689822a8 walletdb: create explicit type for balances 2021-10-15 10:57:21 +03:00
ghassmo
4640f535a4 walletdb: clean up 2021-10-15 10:47:20 +03:00
ghassmo
35ce219d53 btc: minor changes 2021-10-15 08:26:01 +03:00
ghassmo
5302507577 btc: change debuge message target to "BTC BRIDGE" 2021-10-15 08:10:24 +03:00
Janus
363fa1b49c Rename BtcKeys -> Account 2021-10-15 01:00:06 -04:00
ghassmo
2aef446dc8 walletdb: clean up 2021-10-15 07:57:04 +03:00
Janus
3c506811d7 Update todo 2021-10-15 00:45:11 -04:00
ghassmo
7c41cdc0d5 cashierd: remove config field from Cashierd 2021-10-15 07:41:42 +03:00
ghassmo
9ecaae3d2d cashierd: btc don't need a mint address 2021-10-15 07:37:28 +03:00
ghassmo
61cf278c6c btc: check if there is keypair path in cashierd.toml before generate new one 2021-10-15 07:16:57 +03:00
Janus
54c4f20561 Add tests for keypairs 2021-10-14 22:12:53 -04:00
Janus
085edb5e71 Update todo.md items 2021-10-14 15:56:51 -04:00
Janus
c41b8714d8 Simplify btc unsubscribe 2021-10-14 15:53:38 -04:00
Janus
b6f3bc6cd4 Fix btc subscription handling and key derivation 2021-10-14 15:42:50 -04:00
Janus
46de83801e Use btc genesis coinbase as token identifier 2021-10-14 13:43:37 -04:00
Janus
c1d90de745 Serialize and post raw btc tx to electrum 2021-10-14 09:05:40 -04:00
ghassmo
c40e34c094 cashierd: catch bridge messages and send proper error message to the user 2021-10-14 14:49:13 +03:00
ghassmo
a61edf5bdf sol: don't send deposit address when there is no enough fund in main
account
2021-10-14 14:23:44 +03:00
ghassmo
5e5f9fa0a4 util/parse: more tests to truncate function 2021-10-14 14:21:13 +03:00
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