Skip to content

TouchLux/validators-contest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haqq

🚨 Genesis update guide haqq_54211-3

For those who already have a node installed

Stop node

sudo systemctl stop haqqd

Download new genesis

cd $HOME/.haqqd/config && rm -rf genesis.json && wget https://github.com/haqq-network/validators-contest/raw/master/genesis.json

Check genesis.json

sha256sum $HOME/.haqqd/config/genesis.json

sha256sum: b93f2650bdf560cab2cf7706ecee72bfba6d947fa57f8b1b8cb887f8b428233f

Disable state-sync in $HOME/.haqqd/config/config.toml.
Change the enable parameter to false

[statesync]
enable = false

Execute unsafe-reset-all

haqqd tendermint unsafe-reset-all --home=$HOME/.haqqd

Set chain haqq_54211-3

haqqd config chain-id haqq_54211-3

Insertion of seeds and peers

seeds="62bf004201a90ce00df6f69390378c3d90f6dd7e@seed2.testedge2.haqq.network:26656,23a1176c9911eac442d6d1bf15f92eeabb3981d5@seed1.testedge2.haqq.network:26656"
peers="[email protected]:33656,[email protected]:29656,[email protected]:26556,[email protected]:29956,[email protected]:20116,[email protected]:45656,[email protected]:36656,[email protected]:26656,[email protected]:26656,[email protected]:36656,[email protected]:32656"
sed -i -e 's|^seeds *=.*|seeds = "'$seeds'"|; s|^persistent_peers *=.*|persistent_peers = "'$peers'"|' $HOME/.haqqd/config/config.toml

Run the service file and see the logs of your node

sudo systemctl restart haqqd && \
sudo journalctl -u haqqd -f -o cat

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%