Update stage2 init script to disallow duplicate IP connections
This commit is contained in:
parent
8b53e8a649
commit
1820444954
@ -69,9 +69,6 @@ remove_module_accounts
|
||||
# Set all account sequences to 0
|
||||
jq '(.app_state.auth.accounts[] | select(has("sequence")) | .sequence) = "0"' "$stage2_genesis_file" > tmp.$$.json && mv tmp.$$.json "$stage2_genesis_file"
|
||||
|
||||
# Allow multiple node connections from same IP
|
||||
sed -i 's/allow_duplicate_ip.*$/allow_duplicate_ip = true/' $HOME/.laconicd/config/config.toml
|
||||
|
||||
# Sign genesis transaction
|
||||
# 10^15 alnt
|
||||
laconicd genesis gentx $KEY $STAKING_AMOUNT$DENOM --keyring-backend $KEYRING --chain-id $CHAINID
|
||||
|
Loading…
Reference in New Issue
Block a user