Upgrade proposal detected

Rebus Rebus

Welcome to Rebus, where TradFi and DeFi come hand in hand, an intersection bringing the two worlds together.

Investment in crypto assets is bound to grow, and naturally more people are turning to their traditional financial institutions expecting crypto services to be available. That’s where we come in, we'll assist in building the best crypto products possible for conventional financial establishments.

State sync

Basic information

RPC server:



Stop the service and reset the data

sudo systemctl stop rebusd
cp $HOME/.rebusd/data/priv_validator_state.json $HOME/.rebusd/priv_validator_state.json.backup
rm -rf $HOME/.rebusd/data/*
mv $HOME/.rebusd/priv_validator_state.json.backup $HOME/.rebusd/data/priv_validator_state.json

Get and configure the state sync information

[email protected]2p.brocha.in:30543
LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height)
SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)

sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.rebusd/config/config.toml
sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
sed -i.bak -e "s|^persistent_peers *=.*|persistent_peers = \"$STATE_SYNC_PEER\"|" \

Restart the service and check the log

sudo systemctl restart rebusd
sudo journalctl -u rebusd -f --no-hostname -o cat