Skip to content

Conversation

@furszy
Copy link

@furszy furszy commented Mar 15, 2021

Coming from upstream bitcoin#15305 with some adaptations.

If we're unable to disconnect a block during normal operation, then that is a
failure of our local system (such as disk failure) or the chain that we are on
(eg CVE-2018-17144), but cannot be due to failure of the (more work) chain that
we're trying to validate.
We should abort rather than stay on a less work chain.

@furszy furszy self-assigned this Mar 15, 2021
@random-zebra random-zebra added this to the 6.0.0 milestone Mar 25, 2021
sdaftuar and others added 4 commits April 8, 2021 13:41
If we're unable to disconnect a block during normal operation, then that is a
failure of our local system (such as disk failure) or the chain that we are on
(eg CVE-2018-17144), but cannot be due to failure of the (more work) chain that
we're trying to validate.

We should abort rather than stay on a less work chain.
@furszy furszy force-pushed the 2020_abort_node_test branch from 137296e to c623146 Compare April 8, 2021 16:42
@furszy
Copy link
Author

furszy commented Apr 8, 2021

Rebased + squashed the AbortNode inline with the return statement in 6788850.

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK c623146

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK c623146 and merging...

@random-zebra random-zebra merged commit ac83fdf into PIVX-Project:master Apr 9, 2021
@furszy furszy deleted the 2020_abort_node_test branch November 29, 2022 14:09
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.

4 participants