RHF2S308 Fast Sync - helium-support/helium-miner-documentation GitHub Wiki
sudo docker stop miner
sudo mv /opt/helium/miner_data /opt/helium/miner_data.bak
sudo mkdir -p /opt/helium/miner_data
cd /opt/helium/miner_data
curl https://helium-snapshots.nebra.com/latest.json
Example output (yours will be different): {"height": 1265098, "hash": "<<35,2,247,80,80,166,199,89,93,56,127,56,223,216,243,215,96,206,222,196,197,121,32,152,163,26,24,224,221,115,217,145>>"}
You'll take the value of height (1265098) and replace 1265098 in the next commands
Caution: You'll need to make changes to the lines below!
sudo wget https://helium-snapshots.nebra.com/snap-1265098
sudo docker start miner
wait 10-15 minutes for miner to recreate the data folder (note: optional?)
sudo docker exec miner miner repair sync_pause
sudo docker exec miner miner repair sync_cancel
sudo docker exec miner miner snapshot load /var/data/snap-1265098 &
sudo docker exec miner miner info height
Once the call does not timeout you're ready to move on to the next steps
sudo docker restart miner
sudo rm -fr /opt/helium/miner_data.bak
That's it! Let your miner catch up to the latest block and you should be up and earning within the next couple of hours!