Newb question. I have just started running btcsuite/btcd. After spending a couple days initializing the blockchain it no longer appears to be writing new blocks. btcctl getblockcount reports 828835 which today (2024-02-05) is about 36 hours behind.
The logs seem to show valid activity
2024-02-05 21:16:48.101 [INF] SYNC: New valid peer 209.222.252.235:30340 (inbound) (/Bitcoin ABC:0.14.6(EB8.0)/)
2024-02-05 21:16:50.996 [INF] SYNC: Lost peer 207.154.205.24:57960 (inbound)
2024-02-05 21:16:50.996 [INF] SYNC: Syncing to block height 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): previous block 00000000000000000002af7f6d56ec5a25f7e8f6772b1c5e0ed6c74af94b7e87 is known to be invalid
2024-02-05 21:16:51.832 [INF] CHAN: Adding orphan block 000000000000000000024ef5fe9fa06e137c4194468485e053b5cbbf54adaec8 with parent 00000000000000000000e0fd16374c0b72e7827b1625bb3f5d4476bf8caafcda
Checking the database file directory reveals the issue as well:
root@meta-01:/data/btcd-data/data/mainnet/blocks_ffldb# ls -lt | head
total 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
Anyone know what might be causing this? Is my server off on some dead-end fork? Can I roll the chain back to the “last good block?”