Commit Graph

781 Commits

Author SHA1 Message Date
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
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
193d4b4217 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-24 01:07:17 +03:00
ghassmo
17ac6cefdb fix "~/.config" path expansion 2021-09-24 01:07:04 +03:00
ghassmo
5584739c40 remove Executor from cashierd & handle error from bridge response 2021-09-24 00:46:59 +03:00
ghassmo
44aeac3534 return token public key as a string when subscribe to new keypair 2021-09-24 00:45:10 +03:00
ghassmo
0e99e7291e create BridgeResponseError enum for bridge subscription response 2021-09-24 00:43:31 +03:00
parazyd
bb856d3dac Fix CI builds. 2021-09-23 22:52:28 +02:00
parazyd
2c9fd99d98 Rework configuration structs for new reference config files. 2021-09-23 20:25:18 +02:00
parazyd
967b0e0f31 rpc/jsonrpc: Support TLS in send_request.
This implies all URLs passed to the function should have a schema.

tcp:// or tls:// are supported.
2021-09-23 20:04:56 +02:00
parazyd
110c7d6770 cli: Remove old cashierd_cli code. 2021-09-23 18:11:50 +02:00
parazyd
19727d1528 Code linting. 2021-09-23 17:44:07 +02:00
parazyd
10bb7d3ec6 Move to simpler logging system. 2021-09-23 16:45:51 +02:00
parazyd
2a901d04ea bin/cashierd: Fix feature matching. 2021-09-23 15:46:31 +02:00
parazyd
e3ebdf820a cli: Remove old code. 2021-09-23 15:35:35 +02:00
parazyd
bb6ad4e716 Minor aesthetic debug fix. 2021-09-23 13:49:44 +02:00
ghassmo
e2462d964c minor changes to cashierd 2021-09-23 14:49:25 +03:00
ghassmo
8ef79fe380 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-23 13:39:50 +03:00
ghassmo
4ac97877e6 update config examples 2021-09-23 13:39:36 +03:00
ghassmo
37f7c2c550 cashierd: switch to new rpcserver (tokio -> async_std) 2021-09-23 13:34:07 +03:00
ghassmo
eebf9ddc5a move parse_id function to src/util.rs 2021-09-23 13:32:33 +03:00
parazyd
f4f43fa0f7 rpc/jsonrpc: tokio -> async_std. 2021-09-23 12:02:02 +02:00
parazyd
dedef113dd bin/drk: tokio -> async_std. 2021-09-23 11:59:49 +02:00
parazyd
1b863922c8 bin/darkfid: Port to new JSONRPC server implementation. 2021-09-23 11:33:57 +02:00
parazyd
681944d0d1 rpc: Implement async RPC server with TCP and TLS support. 2021-09-23 11:31:32 +02:00
parazyd
c39a1bd9ec Remove HTTP remnants.
Join the Tim Berners Lee Kicking Club!
2021-09-23 11:12:59 +02:00
ghassmo
e5d87f7d5a enable features, based on networks passed from cashierd config file 2021-09-22 14:53:00 +03:00
ghassmo
3a3e1c4f57 add networks field to cashierd config file 2021-09-22 14:51:54 +03:00
ghassmo
5839be90f9 add NotSupportedNetwork error to error.rs 2021-09-22 14:50:14 +03:00
ghassmo
c5c5f9ff56 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-22 13:39:35 +03:00
ghassmo
64ec12e30c split btc from the default feature 2021-09-22 13:35:40 +03:00
lunar-mining
b02ed32d1d bin/darkfid: added drk::Result 2021-09-22 12:26:13 +02:00
lunar-mining
5f59d9a50b bin/darkfid: moved tokenlist to global variable 2021-09-22 12:21:24 +02:00
ghassmo
c7afba7d88 cashierd: implement deposit function 2021-09-22 13:07:55 +03:00
ghassmo
7801b31094 add BridgeError to error.rs 2021-09-22 13:07:31 +03:00
ghassmo
564708643e Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-22 12:16:30 +03:00
ghassmo
91c10e075e cashierd: implement withdraw function 2021-09-22 12:15:37 +03:00
ghassmo
8e99784ea7 pass asset_id as jubjub::Fr to cashierdb 2021-09-22 12:15:15 +03:00
lunar-mining
327ecd4b1c bin/darkfid: removed unnecessary async 2021-09-22 10:48:51 +02:00
lunar-mining
c5f1e0e0c9 bin/darkfid: convert token symbol to ID if user enters symbol 2021-09-22 10:39:48 +02:00
lunar-mining
f4acbc491a bin/drk: disabled old drk and made drk2 primary. 2021-09-22 08:33:05 +02:00
lunar-mining
a25d2b8e06 todo.md: added error handling. cashierd2: removed old comments 2021-09-22 08:30:30 +02:00
lunar-mining
1e665787e4 bin/cashierd: parse_id() method. converts token_id to jubjub::Fr 2021-09-21 16:58:07 +02:00
parazyd
9da7496441 service/sol: Add function for deriving associated token accounts from owner. 2021-09-21 13:04:19 +02:00
lunar-mining
ca55ecfa5d cli_config: removed 'accept_url' from cashierd
cashierd: changed 'accept_url' to 'rpc_url'
2021-09-21 11:24:20 +02:00
lunar-mining
2daa4290ee cli/cli_config: disabled config db path. bin/darkfid: hardcoded path 2021-09-21 10:23:34 +02:00