Saturday, July 6, 2024

btcd stopped updating blocks database for 36 hours

Newb query. I’ve simply began working btcsuite/btcd. After spending a pair days initializing the blockchain it not seems to be writing new blocks. btcctl getblockcount reviews 828835 which at present (2024-02-05) is about 36 hours behind.

The logs appear to indicate legitimate exercise

2024-02-05 21:16:48.101 [INF] SYNC: New legitimate peer 209.222.252.235:30340 (inbound) (/Bitcoin ABC:0.14.6(EB8.0)/)
2024-02-05 21:16:50.996 [INF] SYNC: Misplaced peer 207.154.205.24:57960 (inbound)
2024-02-05 21:16:50.996 [INF] SYNC: Syncing to dam peak 829096 from peer 69.4.94.226:8333
2024-02-05 21:16:51.769 [INF] SYNC: Rejected block 0000000000000000000202b00ad6c08ae74632e1355c7919e1b0ef34d6c93361 from 69.4.94.226:8333 (outbound): earlier block 00000000000000000002af7f6d56ec5a25f7e8f6772b1c5e0ed6c74af94b7e87 is thought to be invalid
2024-02-05 21:16:51.832 [INF] CHAN: Including orphan block 000000000000000000024ef5fe9fa06e137c4194468485e053b5cbbf54adaec8 with mum or dad 00000000000000000000e0fd16374c0b72e7827b1625bb3f5d4476bf8caafcda

Checking the database file listing reveals the difficulty as properly:

root@meta-01:/information/btcd-data/information/mainnet/blocks_ffldb# ls -lt  | head
complete 533918380
drwxr-xr-x 2 root root   1892352 Feb  5 13:18 metadata
-rw-r--r-- 1 root root 285130543 Feb  3 21:41 000001019.fdb
-rw-r--r-- 1 root root 536651991 Feb  3 21:38 000001018.fdb
-rw-r--r-- 1 root root 536626098 Feb  3 21:33 000001017.fdb

Anybody know what could be inflicting this? Is my server off on some dead-end fork? Can I roll the chain again to the “final good block?”

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles