Skip to content

Instantly share code, notes, and snippets.

@fjahr
Last active January 21, 2020 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjahr/a56a2c81217b255f448f2b53928c93db to your computer and use it in GitHub Desktop.
Save fjahr/a56a2c81217b255f448f2b53928c93db to your computer and use it in GitHub Desktop.

With --enable-debug

$ src/bitcoin-cli getblockchaininfo
{
  "chain": "main",
  "blocks": 220002,
  "headers": 613884,
  "bestblockhash": "00000000000000f8e6ea4282254b6cbc518a519ac7e1de83a8b7f413c16bc2c7",
  "difficulty": 3275464.586565617,
  "mediantime": 1360213231,
  "verificationprogress": 0.02481448974016719,
  "initialblockdownload": true,
  "chainwork": "00000000000000000000000000000000000000000000002989991dad7b17c373",
  "size_on_disk": 6193417499,
  "pruned": false,
  "softforks": {
    "bip34": {
      "type": "buried",
      "active": false,
      "height": 227931
    },
    "bip66": {
      "type": "buried",
      "active": false,
      "height": 363725
    },
    "bip65": {
      "type": "buried",
      "active": false,
      "height": 388381
    },
    "csv": {
      "type": "buried",
      "active": false,
      "height": 419328
    },
    "segwit": {
      "type": "buried",
      "active": false,
      "height": 481824
    }
  },
  "warnings": "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"
}
$ du -ch *.dat
128M	blk00000.dat
128M	blk00001.dat
128M	blk00002.dat
128M	blk00003.dat
128M	blk00004.dat
128M	blk00005.dat
128M	blk00006.dat
128M	blk00007.dat
128M	blk00008.dat
128M	blk00009.dat
128M	blk00010.dat
128M	blk00011.dat
128M	blk00012.dat
128M	blk00013.dat
128M	blk00014.dat
128M	blk00015.dat
128M	blk00016.dat
128M	blk00017.dat
128M	blk00018.dat
128M	blk00019.dat
128M	blk00020.dat
128M	blk00021.dat
128M	blk00022.dat
128M	blk00023.dat
128M	blk00024.dat
128M	blk00025.dat
128M	blk00026.dat
128M	blk00027.dat
128M	blk00028.dat
128M	blk00029.dat
128M	blk00030.dat
128M	blk00031.dat
128M	blk00032.dat
128M	blk00033.dat
128M	blk00034.dat
128M	blk00035.dat
128M	blk00036.dat
128M	blk00037.dat
128M	blk00038.dat
128M	blk00039.dat
112M	blk00040.dat
 19M	rev00000.dat
 17M	rev00001.dat
 16M	rev00002.dat
 17M	rev00003.dat
 17M	rev00004.dat
 18M	rev00005.dat
 18M	rev00006.dat
 17M	rev00007.dat
 19M	rev00008.dat
 18M	rev00009.dat
 18M	rev00010.dat
 18M	rev00011.dat
 18M	rev00012.dat
 18M	rev00013.dat
 18M	rev00014.dat
 18M	rev00015.dat
 18M	rev00016.dat
 18M	rev00017.dat
 18M	rev00018.dat
 18M	rev00019.dat
 18M	rev00020.dat
 18M	rev00021.dat
 18M	rev00022.dat
 18M	rev00023.dat
 18M	rev00024.dat
 17M	rev00025.dat
 17M	rev00026.dat
 18M	rev00027.dat
 18M	rev00028.dat
 18M	rev00029.dat
 17M	rev00030.dat
 18M	rev00031.dat
 18M	rev00032.dat
 18M	rev00033.dat
 18M	rev00034.dat
 18M	rev00035.dat
 18M	rev00036.dat
 18M	rev00037.dat
 18M	rev00038.dat
 19M	rev00039.dat
 15M	rev00040.dat
5.8G	total

Without --enable-debug

$ src/bitcoin-cli getblockchaininfo
{
  "chain": "main",
  "blocks": 222557,
  "headers": 613888,
  "bestblockhash": "000000000000017b808430f5a6e51559918877c5cd8f06b952df080e6544de6d",
  "difficulty": 3651011.630693214,
  "mediantime": 1361545297,
  "verificationprogress": 0.02655144740775098,
  "initialblockdownload": true,
  "chainwork": "00000000000000000000000000000000000000000000002b8e49ecde2ddc3a50",
  "size_on_disk": 6725657933,
  "pruned": false,
  "softforks": {
    "bip34": {
      "type": "buried",
      "active": false,
      "height": 227931
    },
    "bip66": {
      "type": "buried",
      "active": false,
      "height": 363725
    },
    "bip65": {
      "type": "buried",
      "active": false,
      "height": 388381
    },
    "csv": {
      "type": "buried",
      "active": false,
      "height": 419328
    },
    "segwit": {
      "type": "buried",
      "active": false,
      "height": 481824
    }
  },
  "warnings": "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"
}
$ du -ch *.dat
128M	blk00000.dat
128M	blk00001.dat
128M	blk00002.dat
128M	blk00003.dat
128M	blk00004.dat
128M	blk00005.dat
128M	blk00006.dat
128M	blk00007.dat
128M	blk00008.dat
128M	blk00009.dat
128M	blk00010.dat
128M	blk00011.dat
128M	blk00012.dat
128M	blk00013.dat
128M	blk00014.dat
128M	blk00015.dat
128M	blk00016.dat
128M	blk00017.dat
128M	blk00018.dat
128M	blk00019.dat
128M	blk00020.dat
128M	blk00021.dat
128M	blk00022.dat
128M	blk00023.dat
128M	blk00024.dat
128M	blk00025.dat
128M	blk00026.dat
128M	blk00027.dat
128M	blk00028.dat
128M	blk00029.dat
128M	blk00030.dat
128M	blk00031.dat
128M	blk00032.dat
128M	blk00033.dat
128M	blk00034.dat
128M	blk00035.dat
128M	blk00036.dat
128M	blk00037.dat
128M	blk00038.dat
128M	blk00039.dat
128M	blk00040.dat
128M	blk00041.dat
128M	blk00042.dat
128M	blk00043.dat
 48M	blk00044.dat
 20M	rev00000.dat
 18M	rev00001.dat
 17M	rev00002.dat
 16M	rev00003.dat
 17M	rev00004.dat
 17M	rev00005.dat
 18M	rev00006.dat
 17M	rev00007.dat
 18M	rev00008.dat
 18M	rev00009.dat
 18M	rev00010.dat
 18M	rev00011.dat
 18M	rev00012.dat
 18M	rev00013.dat
 18M	rev00014.dat
 47M	rev00015.dat
 41M	rev00016.dat
 64M	rev00017.dat
 24M	rev00018.dat
 29M	rev00019.dat
 37M	rev00020.dat
 43M	rev00021.dat
 24M	rev00022.dat
 27M	rev00023.dat
 26M	rev00024.dat
 19M	rev00025.dat
 30M	rev00026.dat
 23M	rev00027.dat
 26M	rev00028.dat
 23M	rev00029.dat
 21M	rev00030.dat
 23M	rev00031.dat
 19M	rev00032.dat
 23M	rev00033.dat
 20M	rev00034.dat
 18M	rev00035.dat
 19M	rev00036.dat
 19M	rev00037.dat
 19M	rev00038.dat
 19M	rev00039.dat
 19M	rev00040.dat
 18M	rev00041.dat
 18M	rev00042.dat
 17M	rev00043.dat
1.8M	rev00044.dat
6.5G	total

Without --enable-debug, with #17887

$ src/bitcoin-cli getblockchaininfo
{
  "chain": "main",
  "blocks": 214400,
  "headers": 613890,
  "bestblockhash": "0000000000000053abdbc1882176ba88ee29466f6a572a5bbe83192ff675415b",
  "difficulty": 2979636.616938074,
  "mediantime": 1356908588,
  "verificationprogress": 0.02119921836758622,
  "initialblockdownload": true,
  "chainwork": "00000000000000000000000000000000000000000000002582f88af0644ac0e3",
  "size_on_disk": 5367264763,
  "pruned": false,
  "softforks": {
    "bip34": {
      "type": "buried",
      "active": false,
      "height": 227931
    },
    "bip66": {
      "type": "buried",
      "active": false,
      "height": 363725
    },
    "bip65": {
      "type": "buried",
      "active": false,
      "height": 388381
    },
    "csv": {
      "type": "buried",
      "active": false,
      "height": 419328
    },
    "segwit": {
      "type": "buried",
      "active": false,
      "height": 481824
    }
  },
  "warnings": "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"
}
$ du -ch *.dat
128M	blk00000.dat
128M	blk00001.dat
128M	blk00002.dat
128M	blk00003.dat
128M	blk00004.dat
128M	blk00005.dat
128M	blk00006.dat
128M	blk00007.dat
128M	blk00008.dat
128M	blk00009.dat
128M	blk00010.dat
128M	blk00011.dat
128M	blk00012.dat
128M	blk00013.dat
128M	blk00014.dat
128M	blk00015.dat
128M	blk00016.dat
128M	blk00017.dat
128M	blk00018.dat
128M	blk00019.dat
128M	blk00020.dat
128M	blk00021.dat
128M	blk00022.dat
128M	blk00023.dat
128M	blk00024.dat
128M	blk00025.dat
128M	blk00026.dat
128M	blk00027.dat
128M	blk00028.dat
128M	blk00029.dat
128M	blk00030.dat
128M	blk00031.dat
128M	blk00032.dat
128M	blk00033.dat
128M	blk00034.dat
 80M	blk00035.dat
 20M	rev00000.dat
 17M	rev00001.dat
 17M	rev00002.dat
 17M	rev00003.dat
 18M	rev00004.dat
 17M	rev00005.dat
 17M	rev00006.dat
 18M	rev00007.dat
 18M	rev00008.dat
 18M	rev00009.dat
 19M	rev00010.dat
 18M	rev00011.dat
 18M	rev00012.dat
 19M	rev00013.dat
 19M	rev00014.dat
 18M	rev00015.dat
 19M	rev00016.dat
 18M	rev00017.dat
 18M	rev00018.dat
 18M	rev00019.dat
 19M	rev00020.dat
 18M	rev00021.dat
 18M	rev00022.dat
 18M	rev00023.dat
 18M	rev00024.dat
 19M	rev00025.dat
 18M	rev00026.dat
 18M	rev00027.dat
 19M	rev00028.dat
 19M	rev00029.dat
 18M	rev00030.dat
 18M	rev00031.dat
 18M	rev00032.dat
 18M	rev00033.dat
 17M	rev00034.dat
2.9M	rev00035.dat
5.1G	total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment