Better error message for invalid -maxreorg CLI option #386

Open
opened 3 months ago by duke · 0 comments
duke commented 3 months ago
Owner
hushd: main.cpp:4215: bool ActivateBestChainStep(bool, CValidationState&, CBlockIndex*, CBlock*): Assertion `MAX_REORG_LENGTH > 0' failed.

This is not ideal and doesn't tell the person what is wrong. We should validate that -maxreorg is a valid value and give a useful error message if not.

``` hushd: main.cpp:4215: bool ActivateBestChainStep(bool, CValidationState&, CBlockIndex*, CBlock*): Assertion `MAX_REORG_LENGTH > 0' failed. ``` This is not ideal and doesn't tell the person what is wrong. We should validate that -maxreorg is a valid value and give a useful error message if not.
duke added the
bug
label 3 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.