⛓️StateSync/Snapshot

πŸ”₯QwoynπŸ”₯

MAINNET

StateSync Qwoyn Mainnet

SNAP_RPC=https://qwoyn.rpc.m.stavr.tech:443
SEEDS=becf65550dd8453e36393cb2b97ca4e2494b2460@qwoyn.peer.stavr.tech:11206
cp $HOME/.qwoynd/data/priv_validator_state.json $HOME/.qwoynd/priv_validator_state.json.backup
sed -i -e "/seeds =/ s/= .*/= \"$SEEDS\"/"  $HOME/.qwoynd/config/config.toml
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 500)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.qwoynd/config/config.toml
qwoynd tendermint unsafe-reset-all --home $HOME/.qwoynd
mv $HOME/.qwoynd/priv_validator_state.json.backup $HOME/.qwoynd/data/priv_validator_state.json
wget -O $HOME/.qwoynd/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Qwoyn/addrbook.json"
sudo systemctl restart qwoynd && journalctl -u qwoynd -f -o cat

SnapShot Mainnet - updated every 5 hours

You can check the size and time of snapshot creation with this command curl -sI https://qwoyn.snapshot.stavr.tech/qwoynd-snap.tar.lz4 | grep "last" && curl -sI https://qwoyn.snapshot.stavr.tech/qwoynd-snap.tar.lz4 | grep content-length | awk '{printf "%.2f GB\n", $2/1024/1024/1024}'

cd $HOME
apt install lz4
sudo systemctl stop qwoynd
cp $HOME/.qwoynd/data/priv_validator_state.json $HOME/.qwoynd/priv_validator_state.json.backup
rm -rf $HOME/.qwoynd/data
curl -o - -L https://qwoyn.snapshot.stavr.tech/qwoynd-snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.qwoynd --strip-components 2
mv $HOME/.qwoynd/priv_validator_state.json.backup $HOME/.qwoynd/data/priv_validator_state.json
wget -O $HOME/.qwoynd/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Qwoyn/addrbook.json"
sudo systemctl restart qwoynd && journalctl -u qwoynd -f -o cat

Useful Tools

πŸ”₯EXPLORER-MπŸ”₯: https://explorer.stavr.tech/Qwoyn-Mainnet Indexer "ON" πŸ”₯API-MπŸ”₯: https://qwoyn.api.m.stavr.tech πŸ”₯RPC-MπŸ”₯: https://qwoyn.rpc.m.stavr.tech Snapshot-interval = 1000 πŸ”₯gRPC-MπŸ”₯: qwoyn.grpc.m.stavr.tech:1907

  • Seed-M

becf65550dd8453e36393cb2b97ca4e2494b2460@qwoyn.peer.stavr.tech:11206
  • Addrbook-M

wget -O $HOME/.qwoynd/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Qwoyn/addrbook.json"
  • Genesis-M

wget -L -O $HOME/.qwoynd/config/genesis.json "https://raw.githubusercontent.com/111STAVR111/props/main/Qwoyn/genesis.json"
  • Auto_install_script-M

wget -O qwoynm https://raw.githubusercontent.com/111STAVR111/props/main/Qwoyn/qwoynm && chmod +x qwoynm && ./qwoynm

πŸ”₯Decentralization InfoπŸ”₯

RPC Scanning

We scan nodes in real time every 4 hours. And we provide the final result of RPC endpoints. We cannot influence the operation of these nodes in any way.

If Voting Power is higher than 0 --> then the Node is a validator of the network and may be subject to attack and be a potential threat to the chain.
We marked such validators with a red symbol

Last updated