📖 AddrBook

Updated every 20 minutes.

◻️ How to use?

Copy and paste the command on your server.

curl -Ls https://snapshots.unitynodes.app/story-mainnet/addrbook.json > $HOME/.story/story/config/addrbook.json

sudo systemctl restart story story-geth
sudo journalctl -u story -f -o cat

◻️ How to check?

After uploading addrbook to your server, you can see if your node is syncing with the following command:

while true; do 
  local_height=$(story status | jq -r .sync_info.latest_block_height)
  network_height=$(curl -s https://rpc.story-mainnet.unitynodes.app/status | jq -r '.result.sync_info.latest_block_height')
  blocks_left=$((network_height - local_height))

  echo -e "\033[1;33m[Sync Status]\033[0m \033[1;32mNode Height:\033[0m \033[1;37m$local_height\033[0m | \033[1;32mNetwork Height:\033[0m \033[1;37m$network_height\033[0m | \033[1;32mBlocks Left:\033[0m \033[1;31m$blocks_left\033[0m"

  sleep 5
done
  • Your node height - the current block of your node

  • Network height - the last block of the network

  • Blocks left - how many blocks your node has left to sync.

Last updated