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

v2.0: gossip: demote invalid duplicate proof errors to info (backport of #2754) #2759

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Aug 27, 2024

Problem

Misconfigured or malicious nodes can send out duplicate proofs that are invalid.
This will result in a lot of ERROR log spam.

Summary of Changes

Separate out logging to use INFO for invalid duplicate proofs, and ERROR for errors in the processing pipeline.


This is an automatic backport of pull request #2754 done by [Mergify](https://mergify.com).

* gossip: demote invalid duplicate proof errors to info

* pr feedback: explicitly list every enum

(cherry picked from commit 7b6e6c1)
@mergify mergify bot requested a review from a team as a code owner August 27, 2024 18:57
@AshwinSekar
Copy link

Only changes the log line. Demotes ERROR to INFO in case the error is non critical (a gossip user can intentionally trigger it).

@AshwinSekar AshwinSekar merged commit 2f2d7ec into v2.0 Aug 28, 2024
38 checks passed
@AshwinSekar AshwinSekar deleted the mergify/bp/v2.0/pr-2754 branch August 28, 2024 16:08
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.

4 participants