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

Version: litecoin-0.21.4 ERROR: AcceptBlockHeader: prev block not found #1008

Open
goodthebest opened this issue Feb 13, 2025 · 1 comment
Open
Assignees

Comments

@goodthebest
Copy link

@losh11 @DavidBurkett

Version: litecoin-0.21.4

I'm running an LTC mining pool. After enabling the prune option, I stopped finding any blocks.

I reverted to a full node, but the issue persists. Upon checking the node's logs, I noticed some strange, recurring entries.

ERROR: AcceptBlockHeader: prev block not found

LTC node log


``
2025-02-13T09:39:33Z CreateNewBlock(): block weight: 867457 txs: 772 fees: 4855087 sigops: 3739 MWEB weight: 61
2025-02-13T09:39:44Z ERROR: AcceptBlockHeader: prev block not found
2025-02-13T09:39:53Z CreateNewBlock(): block weight: 903355 txs: 813 fees: 4986040 sigops: 3868 MWEB weight: 61
2025-02-13T09:39:59Z CreateNewBlock(): block weight: 910854 txs: 823 fees: 5055983 sigops: 3886 MWEB weight: 61
2025-02-13T09:40:20Z CreateNewBlock(): block weight: 947602 txs: 866 fees: 5286831 sigops: 4045 MWEB weight: 61
2025-02-13T09:40:30Z CreateNewBlock(): block weight: 957685 txs: 880 fees: 5306402 sigops: 4081 MWEB weight: 61
2025-02-13T09:40:38Z ERROR: AcceptBlockHeader: prev block not found
2025-02-13T09:40:40Z ERROR: AcceptBlockHeader: prev block not found
2025-02-13T09:40:41Z CreateNewBlock(): block weight: 986022 txs: 903 fees: 5354617 sigops: 4178 MWEB weight: 61
2025-02-13T09:40:47Z CreateNewBlock(): block weight: 998255 txs: 916 fees: 5374209 sigops: 4213 MWEB weight: 61
2025-02-13T09:40:51Z ERROR: AcceptBlockHeader: prev block not found
2025-02-13T09:41:01Z ERROR: AcceptBlockHeader: prev block not found
2025-02-13T09:41:03Z CreateNewBlock(): block weight: 1011844 txs: 935 fees: 5595542 sigops: 4272 MWEB weight: 61
2025-02-13T09:41:24Z CreateNewBlock(): block weight: 1045427 txs: 977 fees: 5709665 sigops: 4405 MWEB weight: 61
2025-02-13T09:41:34Z [loop] keypool reserve 11
2025-02-13T09:41:34Z [loop] keypool keep 11
2025-02-13T09:41:35Z CreateNewBlock(): block weight: 1059696 txs: 997 fees: 5734086 sigops: 4456 MWEB weight: 61
2025-02-13T09:41:35Z ERROR: AcceptBlockHeader: prev block not found
2025-02-13T09:41:37Z ERROR: AcceptBlockHeader: prev block not found
2025-02-13T09:41:45Z ERROR: AcceptBlockHeader: prev block not found
2025-02-13T09:41:45Z CreateNewBlock(): block weight: 1168828 txs: 1017 fees: 5875724 sigops: 4499 MWEB weight: 61
2025-02-13T09:42:07Z CreateNewBlock(): block weight: 1196793 txs: 1045 fees: 5978535 sigops: 4624 MWEB weight: 61
2025-02-13T09:42:28Z CreateNewBlock(): block weight: 1271634 txs: 1085 fees: 6170174 sigops: 4965 MWEB weight: 61
2025-02-13T09:42:32Z ERROR: AcceptBlockHeader: prev block not found
2025-02-13T09:42:35Z CreateNewBlock(): block weight: 1277747 txs: 1094 fees: 6193488 sigops: 4992 MWEB weight: 61```

~/litecoin-0.21.4/bin$ ./litecoin-cli getblockchaininfo
{
  "chain": "main",
  "blocks": 2844716,
  "headers": 2844716,
  "bestblockhash": "1e6d3ecb7bd3a78c3eda73d9c8aa21e6463adbbf131a0b6fa507495b3ed28dde",
  "difficulty": 76338008.85487297,
  "mediantime": 1739439964,
  "verificationprogress": 0.9999997498188675,
  "initialblockdownload": false,
  "chainwork": "000000000000000000000000000000000000000000001819c944c6391461d668",
  "size_on_disk": 207807198295,
  "pruned": false,
  "softforks": {
    "bip34": {
      "type": "buried",
      "active": true,
      "height": 710000
    },
    "bip66": {
      "type": "buried",
      "active": true,
      "height": 811879
    },
    "bip65": {
      "type": "buried",
      "active": true,
      "height": 918684
    },
    "csv": {
      "type": "buried",
      "active": true,
      "height": 1201536
    },
    "segwit": {
      "type": "buried",
      "active": true,
      "height": 1201536
    },
    "taproot": {
      "type": "bip8",
      "bip8": {
        "status": "active",
        "start_height": 2161152,
        "timeout_height": 2370816,
        "since": 2257920
      },
      "height": 2257920,
      "active": true
    },
    "mweb": {
      "type": "bip8",
      "bip8": {
        "status": "active",
        "start_height": 2217600,
        "timeout_height": 2427264,
        "since": 2265984
      },
      "height": 2265984,
      "active": true
    }
  },
  "warnings": ""

@goodthebest
Copy link
Author

I couldn't figure this out, tested on different servers, same issue arises even solid ssd disks being used.

I'm still waiting for the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants