Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failover script for a backed up node #41

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
indent_size = 4
phahulin marked this conversation as resolved.
Show resolved Hide resolved
trim_trailing_whitespace = true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
/parity-data/reserved-peers
/parity-data/spec.json
/parity-data/StakingToken.json
/parity-data/watchBackedUpNode.*
/parity-data/isMining.*

# NPM files
/node_modules/
Expand Down
14 changes: 5 additions & 9 deletions config/node6.toml → config/node1-no-signer.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
[parity]
chain = "./parity-data/spec.json"
base_path = "parity-data/node6"
base_path = "parity-data/node1"

[ui]
disable = true

[network]
port = 30306
discovery = true
reserved_peers="parity-data/reserved-peers"
port = 30301
nat = "none"

[rpc]
apis = ["web3", "eth", "pubsub", "net", "parity", "parity_set", "parity_pubsub", "personal", "traces", "rpc", "shh", "shh_pubsub"]
port = 8546
port = 8541

[websockets]
port = 9546
port = 9541

[ipc]
disable = true
Expand All @@ -28,13 +26,11 @@ disable = true
enable = false

[account]
unlock = ["0x522df396ae70a058bd69778408630fdb023389b2"]
unlock = ["0xbbcaa8d48289bb1ffcf9808d9aa4b1d215054c78", "0x32e4e4c7c5d1cea5db5f9202a9e4d99e56c91a24"]
password = ["config/password"]

[mining]
force_sealing = true
min_gas_price = 1000000000
engine_signer = "0x522df396ae70a058bd69778408630fdb023389b2"
reseal_on_txs = "none"
extra_data = "Parity"

Expand Down
1 change: 0 additions & 1 deletion config/node1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ unlock = ["0xbbcaa8d48289bb1ffcf9808d9aa4b1d215054c78", "0x32e4e4c7c5d1cea5db5f9
password = ["config/password"]

[mining]
force_sealing = true
min_gas_price = 1000000000
engine_signer = "0xbbcaa8d48289bb1ffcf9808d9aa4b1d215054c78"
reseal_on_txs = "none"
Expand Down
6 changes: 3 additions & 3 deletions config/node4.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ disable = true

[network]
port = 30304
discovery = true
reserved_peers="parity-data/reserved-peers"
nat = "none"

[rpc]
Expand All @@ -26,13 +28,11 @@ disable = true
enable = false

[account]
unlock = ["0xbbcaa8d48289bb1ffcf9808d9aa4b1d215054c78"]
unlock = ["0xbbcaa8d48289bb1ffcf9808d9aa4b1d215054c78", "0x32e4e4c7c5d1cea5db5f9202a9e4d99e56c91a24"]
password = ["config/password"]

[mining]
force_sealing = true
min_gas_price = 1000000000
engine_signer = "0xbbcaa8d48289bb1ffcf9808d9aa4b1d215054c78"
reseal_on_txs = "none"
extra_data = "Parity"

Expand Down
Loading