-
Notifications
You must be signed in to change notification settings - Fork 677
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
[node] Add "connections.block_proposal_max_age_secs" and ignore block proposals more than the configured amount #5552
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
… into feat/ignore-old-proposals-node
… into feat/ignore-old-proposals-node
… into feat/ignore-old-proposals-node
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just one minor comment.
… into feat/ignore-old-proposals-node
Signed-off-by: Jacinta Ferrant <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you forgot to add block_proposal_max_age_secs
to ConnectionOptionsFile
(with related code to pass into ConnectionOptions
).
(This is such an easy thing to forget, it'd be great if we had more of a serde_toml approach or something to make this cleaner and less footgunable)
Ugh I totally did. Good catch. Thank you! |
Signed-off-by: Jacinta Ferrant <[email protected]>
… into feat/ignore-old-proposals-node
Signed-off-by: Jacinta Ferrant <[email protected]>
💯 Totally agree! |
Closes #5439