briffy / PiscesQoLDashboard

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

wrong infoheight #15

Open fraggy2k opened 2 years ago

fraggy2k commented 2 years ago

Some people complain about a wrong block height and that the miner is syncing

I think the output filter in monitor-scripts/info-height.sh is not exact enough (in some situations)

infoheight

fraggy2k commented 2 years ago

Maybe this one is better? sudo docker exec miner miner info height | grep -Po '[ \t]+[0-9]*' | xargs > /var/dashboard/statuses/infoheight

With "xargs" or another command to trim the whitespace