Bigzhu's den

bitcoin 查看同步进度

bigzhu bigzhu

linux 命令行下.

先看看网络上有多少个块了

curl https://blockexplorer.com/api/status?q=getBlockCount

testnet 在这 curl https://testnet.blockexplorer.com/api/status?q=getBlockCount

返回

{"blockcount":502868}
bitcoin-cli getinfo

返回

{
  "version": 120100,
  "protocolversion": 70012,
  "walletversion": 60000,
  "balance": 0.00000000,
  "blocks": 79914,
  "timeoffset": 0,
  "connections": 9,
  "proxy": "",
  "difficulty": 72.25966508166219,
  "testnet": true,
  "keypoololdest": 1515250081,
  "keypoolsize": 101,
  "paytxfee": 0.00000000,
  "relayfee": 0.00001000,
  "errors": ""
}
bigzhu
Everything is learnable