-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: settings for a single node grouped together * chore: create future in btc retrier * feat: include backup rpc setting * feat: backup rpc * test: fix broken settings test test: unset env * chore: remove template settings * chore: migrate settings * fix: if no settings set it doesn't mean migration fails * chore: address minor review comments * feat: include usage of backup rpc when setting provided * chore: rename client var * chore: improve backup settings * fix: spawn weak for client tasks * feat: clean up main * fix: deser/ser correctly, use guard * chore: use macro for settings env * chore: remove unnecessary test env * chore: remove migration
- Loading branch information
Showing
19 changed files
with
725 additions
and
262 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Is just some random different settings from ../../testing/config/Settings.toml. | ||
# Isn't intended to be correct/real values! | ||
# It's also not ideal the paths have to specified with a /config prefix... | ||
[node_p2p] | ||
ip_address = "1.2.3.4" | ||
allow_local_ip = true | ||
|
||
[state_chain] | ||
# 32 byte hex secret key - associated with the node's public id (public key) | ||
signing_key_file = "./tests/test_keystore/alicia_keys" | ||
|
||
[eth.node] | ||
http_node_endpoint = "http://localhost:8545" | ||
ws_node_endpoint = "ws://localhost:8545" | ||
|
||
[dot.node] | ||
# NB: You will need to manually add :443 to the url provided by the provider, as jsonrpsee wants one. | ||
ws_node_endpoint = "wss://my_polkadot_rpc:443/<secret_key>" | ||
http_node_endpoint = "http://my_polkadot_rpc:443/<secret_key>" | ||
|
||
[btc.node] | ||
http_node_endpoint = "http://localhost:18443" | ||
rpc_user = "doge" | ||
rpc_password = "coin" | ||
|
||
[health_check] | ||
hostname = "127.0.0.2" | ||
port = 5555 | ||
|
||
[prometheus] | ||
hostname = "127.0.2.1" | ||
port = 5566 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.