We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f5b314b + 14c3c1a commit 153369fCopy full SHA for 153369f
1 file changed
03_1_Verifying_Your_Bitcoin_Setup.md
@@ -46,7 +46,7 @@ You can do this by looking at a blocknet explorer, such as [the Blockcypher Test
46
If you'd like an alias to look at everything at once, the following currently works for Testnet, but may disappear at some time in the future:
47
```
48
$ cat >> ~/.bash_profile << EOF
49
-alias btcblock="echo \\\`bitcoin-cli getblockcount 2>&1\\\`/\\\`wget -O - https://blockstream.info/testnet/api/blocks/tip/height 2> /dev/null | cut -d : -f2 | rev | cut -c 1- | rev\\\`"
+alias btcblock="echo \\\`bitcoin-cli -testnet getblockcount 2>&1\\\`/\\\`wget -O - https://blockstream.info/testnet/api/blocks/tip/height 2> /dev/null | cut -d : -f2 | rev | cut -c 1- | rev\\\`"
50
EOF
51
$ source .bash_profile
52
$ btcblock
0 commit comments