~/.sifnoded/config/priv_validator_key.jsonif you already created a validator.
sifnode config.toml(found in
/root/.sifnoded/config/config.tomlon the container) and set a value for external_address, in the [p2p] section.For example, if your public IPv4 address is 184.108.40.206, then that line in the config would look like: external_address = "220.127.116.11:26656"
sudo cp /root/.sifnoded/config/ priv_validator_key.json /usr/local/sifnode/deploy/docker/mainnet/.sifnoded/config/considering you deployed the sifchain at
/usr/localotherwise replace this path to whatever your path is
sifnoded[..]: panic: Failed to process committed block wrong Block.Header.AppHash. Expected ..
'failed to get from fields: The specified item could not be found in the keyring'
--keyring-backend=fileto the above command. The amount is also too low. It should be at least 1000000000000000000rowan as amounts are expressed with the of 1e18.
sifnoded tendermint show-validator
go get github.com/belitre/gotplin the root sifnode repo directory
--recover --keyring-backend fileOr run:
make clean install
sifnodedcli keys add -i --recover --keyring-backend=file
dcli from there, whenever you need to generate/sign/broadcast a transaction. Just make sure your node is fully synchronised before trying to become a validator.
--fees 100000rowanwhen launching the command
sifnodecli tx staking delegatecommand.