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

Issue following canonical bitcoin fork (883183) #5823

Open
wileyj opened this issue Feb 11, 2025 · 1 comment
Open

Issue following canonical bitcoin fork (883183) #5823

wileyj opened this issue Feb 11, 2025 · 1 comment

Comments

@wileyj
Copy link
Collaborator

wileyj commented Feb 11, 2025

Bitcoin fork at 883183 produced a stalled node on stacks-node 3.1.0.0.2.
In the logs, what stood out are these 2 entries:

{"log":"INFO [1739197937.631085] [stackslib/src/net/download/nakamoto/tenure_downloader_set.rs:669] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] Downloader for tenure 7a9ba7a05c8e2c250042c4b417b732b02135f4ac is finished\n","stream":"stderr","time":"2025-02-10T14:32:17.63118568Z"}
{"log":"WARN [1739197939.607500] [stackslib/src/burnchains/bitcoin/spv.rs:981] [main] Received discontiguous headers at height 883183: we have parent BlockHeader { version: 644931584, prev_blockhash: 8168b8b6633c1f52990d11d35191807beb6a5ef6865802000000000000000000, merkle_root: 36a8d98a0a50d078c4724939a85679ec0b61175b470d62b2fed155410ebd0817, time: 1739196604, bits: 386037542, nonce: 4108268898 } (00000000000000000002585e763064d66b3f2554ef9dfb8603a2251ae16439e2), but were given BlockHeader { version: 1, prev_blockhash: 6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000, merkle_root: 982051fd1e4ba744bbbe680e1fee14677ba1a3c3540bf7b1cdb606e857233e0e, time: 1231469665, bits: 486604799, nonce: 2573394689 } (00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048)\n","stream":"stderr","time":"2025-02-10T14:32:19.607630033Z"}
{"log":"ERRO [1739197939.607528] [stackslib/src/burnchains/bitcoin/spv.rs:838] [main] Failed to insert block headers: NoncontiguousHeader\n","stream":"stderr","time":"2025-02-10T14:32:19.607648616Z"}
{"log":"WARN [1739197939.607532] [stackslib/src/burnchains/bitcoin/indexer.rs:412] [main] Unhandled error NoncontiguousHeader\n","stream":"stderr","time":"2025-02-10T14:32:19.607650558Z"}
{"log":"ERRO [1739197939.613751] [testnet/stacks-node/src/burnchains/bitcoin_regtest_controller.rs:576] [main] Unable to sync with burnchain: Non-contiguous header\n","stream":"stderr","time":"2025-02-10T14:32:19.614566011Z"}

it's unclear what block/chain the bitcoin node was returning at this point.

@wileyj
Copy link
Collaborator Author

wileyj commented Feb 11, 2025

Confirmed that the burnchain node followed the canonical fork. unknown if a restart or update&&restart resolves here.

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

No branches or pull requests

1 participant