Last active
October 30, 2021 09:51
-
-
Save bensig/7aab54003c0f2741597b7cdbfff2be55 to your computer and use it in GitHub Desktop.
simple script to check the bitcoin sync level of your btcd node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # simple script to check the bitcoin sync level of your btcd node | |
| echo `btcctl -s localhost:8337 getbestblock|jq -r -c .height`/`curl -s https://blockchain.info/q/getblockcount 2>/dev/null`*100|bc -l |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated due to smartbit.com.au going offline