Skip to content

Conversation

@jeffro256
Copy link
Contributor

@jeffro256 jeffro256 commented Nov 7, 2025

On SIGINT, Blockchain::cancel() is called, which sets m_cancel to true. This commit stops attempting to pop blocks from the chain once that flag is set. This should leave the blockchain in a well-defined state, even if the pop_blocks() operation itself did not "complete".

On SIGINT, `Blockchain::cancel()` is called, which sets `m_cancel` to `true`.
This commit stops attempting to pop blocks from the chain once that flag is
set. This should leave the blockchain in a well-define state, even if the
`pop_blocks()` operation itself did not "complete".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants