briffy / PiscesQoLDashboard

This is a replacement dashboard for the Pisces Helium Miner
43 stars 25 forks source link

Replace nebra endpoints with sensecap #22

Closed GGAlanSmithee closed 2 years ago

GGAlanSmithee commented 2 years ago

Thanks to @herrtakacs for finding this, and for providing a fix.

The snapshots in the nebra endpoints are updated too seldom, which can cause the miner to load an old snapshot (1000 blocks behind blockchain), so these should be replaced with the ones in the sensecap endpoints, which are updated every 30 minutes.

GGAlanSmithee commented 2 years ago

ping @briffy

herrtakacs commented 2 years ago

taken from @moophlo 's script, this might be better to use in auto-maintain.sh

SNAPSHOT=curl --silent https://snapshots-wtf.sensecapmx.cloud/latest-snap.json|awk -F':' '{print $3}'| rev | cut -c2- | rev sudo wget https://snapshots-wtf.sensecapmx.cloud/snap-$SNAPSHOT -O /home/pi/hnt/miner/snap/snap-latest

silviokennecke commented 2 years ago

This can be omitted, since the blockchain sync will not be needed in the future. The mandatory update, moving the blockchain maintenance from full hotspots to validators, was released recently. As soon as the light hotspots are activated via blockchain variable, the former full hotspots will be converted to light hotspots.

GGAlanSmithee commented 2 years ago

@silviokennecke makes sense, closing.