Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No pruneheight property on the GetBlockchainInfo RPC call #1213

Open
bitcoinbrisbane opened this issue Jun 17, 2024 · 0 comments · May be fixed by #1214
Open

No pruneheight property on the GetBlockchainInfo RPC call #1213

bitcoinbrisbane opened this issue Jun 17, 2024 · 0 comments · May be fixed by #1214

Comments

@bitcoinbrisbane
Copy link
Contributor

bitcoinbrisbane commented Jun 17, 2024

On bitcoin-cli the getblockchaininfo rpc call returns the pruneheight. This is useful for resyncing

{
  "chain": "main",
  "blocks": 624959,
  "headers": 624959,
  "bestblockhash": "0000000000000000000c799dc0e36302db7fbb471711f140dc308508ef19e343",
  "difficulty": 13912524048945.91,
  "mediantime": 1586333371,
  "verificationprogress": 0.9999971825740865,
  "initialblockdownload": false,
  "chainwork": "00000000000000000000000000000000000000000e4c955dbc140174f247f260",
  "size_on_disk": 5089213233,
  "pruned": true,
  "pruneheight": 621006,
  "automatic_pruning": true,
  "prune_target_size": 5242880000,
  "softforks": {
    "bip34": {
      "type": "buried",
      "active": true,
      "height": 227931
    },
    "bip66": {
      "type": "buried",
      "active": true,
      "height": 363725
    },
    "bip65": {
      "type": "buried",
      "active": true,
      "height": 388381
    },
    "csv": {
      "type": "buried",
      "active": true,
      "height": 419328
    },
    "segwit": {
      "type": "buried",
      "active": true,
      "height": 481824
    }
  },
  "warnings": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant