bcoin

bcoin rpc getblockchaininfo

manabu@haikus:~$ ./bcoin rpc getblockchaininfo
{
  "chain": "main",
  "blocks": 495972,
  "headers": 495972,
  "bestblockhash": "00000000000000000024f0290c8c008bc078beaf421a0ee661daf9c979091543",
  "difficulty": 1347001430558.5703,
  "mediantime": 1511573230,
  "verificationprogress": 0.9733701074967774,
  "chainwork": "000000000000000000000000000000000000000000b88f773a94fc7298c3aa5e",
  "pruned": false,
  "softforks": [
    {
      "id": "bip34",
      "version": 2,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip66",
      "version": 3,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip65",
      "version": 4,
      "reject": {
        "status": true
      }
    }
  ],
  "bip9_softforks": {
    "csv": {
      "status": "active",
      "bit": 0,
      "startTime": 1462060800,
      "timeout": 1493596800
    },
    "segwit": {
      "status": "active",
      "bit": 1,
      "startTime": 1479168000,
      "timeout": 1510704000
    },
    "segsignal": {
      "status": "active",
      "bit": 4,
      "startTime": 1496275200,
      "timeout": 1510704000
    },
    "testdummy": {
      "status": "failed",
      "bit": 28,
      "startTime": 1199145601,
      "timeout": 1230767999
    }
  },
  "pruneheight": null
}