Open bg002h opened 1 year ago
allowing core to reindex and re-running the satellite fork bitcoind, i see this in my logs:
2023-09-18T04:52:38Z [Chainstate [ibd] @ height 808238 (00000000000000000001912fb900574e3460d326adcfdd715b09a0dc8f5eaad1)] resized coinsdb cache to 8.0 MiB 2023-09-18T04:52:38Z [Chainstate [ibd] @ height 808238 (00000000000000000001912fb900574e3460d326adcfdd715b09a0dc8f5eaad1)] resized coinstip cache to 14326.0 MiB 2023-09-18T04:52:38Z init message: Verifying blocks… 2023-09-18T04:52:38Z Verifying last 8 blocks at level 4 2023-09-18T04:52:38Z Verification progress: 0% 2023-09-18T04:52:38Z Verification progress: 12% 2023-09-18T04:52:38Z Verification progress: 25% 2023-09-18T04:52:38Z Verification progress: 31% 2023-09-18T04:52:38Z Verification progress: 43% 2023-09-18T04:52:39Z Verification progress: 50% 2023-09-18T04:52:39Z Verification progress: 63% 2023-09-18T04:52:39Z Verification progress: 75% 2023-09-18T04:52:39Z Verification progress: 82% 2023-09-18T04:52:39Z Verification progress: 94% 2023-09-18T04:52:39Z Verification: No coin database inconsistencies in last 8 blocks (36365 transactions) 2023-09-18T04:52:39Z block index 3496ms 2023-09-18T04:52:39Z Opening LevelDB in /home/bcg/.bitcoin/future_blocks 2023-09-18T04:52:39Z Opened LevelDB successfully 2023-09-18T04:52:39Z Using obfuscation key for /home/bcg/.bitcoin/future_blocks: 0000000000000000 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Leaving InitialBlockDownload (latching to false) 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z ERROR: ReadBlockFromDisk: Deserialize or I/O error - AutoFile::read: end of file: iostream error at FlatFilePos(nFile=113, nPos=134173042) 2023-09-18T04:52:39Z Failed while reading block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from disk 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache 2023-09-18T04:52:39Z Accepting deferred block 14508459b221041eab257d2baaa7459775ba748246c8403609eb708f0e57e74b from out-of-order disk cache
I didn't wipe future or partial block directories before executing bitcoind...
Is there an existing issue for this?
Current behaviour
Running bitcoind --reindex fails reliably when using bitcoin satellite but doesn't fail while using latest bitcoin-core
Expected behaviour
to --reindex like core
Steps to reproduce
bitcoin-cli stop bitcoind --reindex
Relevant log output
2023-09-17T17:29:50Z Bitcoin Core version v25.0.0 (release build) 2023-09-17T17:29:50Z Bitcoin Satellite version v0.2.4 (release build) . . .
2023-09-17T18:22:23Z UpdateTip: new best=0000000000000003db2fb830b859db8a01a9b66e0397ac0531e14c8df0d33d0c height=275387 version=0x0000000> 2023-09-17T18:22:23Z ERROR: ReadBlockFromDisk(CBlock&, CBlockIndex*): GetHash() doesn't match index for CBlockIndex(pprev=0x7f8985c32b68,> 2023-09-17T18:22:23Z *** Failed to read block 2023-09-17T18:22:23Z Error: A fatal internal error occurred, see debug.log for details 2023-09-17T18:22:23Z Failed to connect best block (Failed to read block) 2023-09-17T18:22:23Z loadblk thread exit 2023-09-17T18:22:23Z Shutdown: In progress...
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
Bitcoin Core version v25.99.0-f01416e23c9c; for satellite
Operating system and version
Linux 13764k 6.5.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 13 Sep 2023 08:37:40 +0000 x86_64 GNU/Linux
Machine specifications
SSDx3 with BTRFS in RAID3c configuration; issue also happens in RAID1 on BTRFS, haven't tried with EXT4