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

Add verification support to rule update code #383

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

HerbertJordan
Copy link
Collaborator

This PR introduces a network rule verification infrastructure and adds support for validating rule changes on the network.

The rule verification code covers basic rule properties by constraining the domain of various rule parameters. The main goal of those constraints is to prevent an accidental network stall. These validation steps are to be considered a last line of defense to safe-guard the network lifelines. However, they are necessarily incomplete. Any change of network rules should be tested extensively before being applied on production networks.

To facilitate a safe roll-out, the validation step is ignored by default. Only a rule-update will enable this features. To prevent a network split, the validation features should only be updated once sufficient (ideally all) nodes on the network have been updated to support this feature.

@HerbertJordan HerbertJordan changed the title Add rule verification support to rule update code Add verification support to rule update code Dec 21, 2024
@HerbertJordan HerbertJordan force-pushed the herbert/network_rule_validation branch from 7204808 to f3962da Compare January 20, 2025 13:11
@HerbertJordan HerbertJordan force-pushed the herbert/network_rule_validation branch from f3962da to 753f590 Compare January 27, 2025 08:09
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