So we created a node, and used Fast Sync (UTXO set import) from block 551636 with 300 blocks before.
Our getblockchaininfo gives us "pruneheight": 551556, which seem correct to me.
root@vmi228582:~# bitcoin-cli.sh getblockchaininfo
{
"chain": "main",
"blocks": 558042,
"headers": 558042,
"bestblockhash": "0000000000000000001f5d5353909f3337c236f0020779105badfe83b2e1daff",
"difficulty": 5618595848853.279,
"mediantime": 1547189577,
"verificationprogress": 0.9999966983924853,
"initialblockdownload": false,
"chainwork": "000000000000000000000000000000000000000004ae862ebcd4312d54c4cf2f",
"size_on_disk": 7161575004,
"pruned": true,
"pruneheight": 551556,
"automatic_pruning": true,
"prune_target_size": 104857600000,
"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",
"startTime": 1462060800,
"timeout": 1493596800,
"since": 419328
},
"segwit": {
"status": "active",
"startTime": 1479168000,
"timeout": 1510704000,
"since": 481824
}
},
"warnings": ""
}
However blocks are still not found...
root@vmi228582:~# bitcoin-cli.sh getblock 551636
error code: -5
error message:
Block not found
root@vmi228582:~# bitcoin-cli.sh getblock 551736
error code: -5
error message:
Block not found
This might be the root cause of https://github.com/ElementsProject/lightning/issues/2250