Skip to content

node: keep the net task after an invalid side tip - #176

Open
octobocto wants to merge 1 commit into
LayerTwo-Labs:masterfrom
octobocto:node-keep-net-task-after-invalid-side-tip
Open

octobocto wants to merge 1 commit into
LayerTwo-Labs:masterfrom
octobocto:node-keep-net-task-after-invalid-side-tip

Conversation

@octobocto

Copy link
Copy Markdown
Contributor

On betanet our seed stopped at block 1529 when a peer BMMed a block that fails Computed Utreexo roots do not match the header roots: handle_mainchain_block_event returns the state error from reorg_to_tip with ?, so the net task stopped and every later block failed with receiver is gone. The handler now logs a state error as NewTipReady does, and skips a best side tip with no body, because reorg_to_tip deletes a rejected body.

@octobocto
octobocto force-pushed the node-keep-net-task-after-invalid-side-tip branch from 31000da to 99b151f Compare October 9, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant