-
Notifications
You must be signed in to change notification settings - Fork 37.8k
[0.18] net: Log to net category for exceptions in ProcessMessages #17974
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
Conversation
ACK 314ba6c |
Please use the backport script or include the backport metatdata manually. Otherwise it is hard to verify this and see where it came from without any references to the original commit/pull. |
@MarcoFalke is there a TLDR for the script with deps etc or the metadata required to be included where? This should probably be a |
I think if you cherry-pick the commit from 0.19, it should include all metadata. There is a python helper script: https://github.com/bitcoin-core/bitcoin-maintainer-tools#backport Not sure if this should be generally made available for any contributor. Asking for a "needs backport" tag should be sufficient |
@instagibbs You can take a look at 1a6a534 for an example of the metadata required. |
Remove the forest of special exceptions, and simply log a short message to the NET logging category when an exception happens during packet processing. It is not good to panick end users with errors that any peer can generate (let alone writing to stderr). Github-Pull: bitcoin#17762 Rebased-From: 4d88c3d
314ba6c
to
c89611e
Compare
cherry-picked from 0.19 |
ACK c89611e, checked that this is a cherry-pick from 0.19 💐 Show signature and timestampSignature:
Timestamp of file with hash |
…ssMessages c89611e net: Log to net category for exceptions in ProcessMessages (Wladimir J. van der Laan) Pull request description: Backport of #17762, currently only backported to 0.19. This seems like something we should opportunistically plug in case wiseguys decide it's a vector to exploit to try and fill people's disks. ACKs for top commit: practicalswift: ACK c89611e MarcoFalke: ACK c89611e, checked that this is a cherry-pick from 0.19 💐 Tree-SHA512: e48daf64a14d98a78cadd0774a597e5833a1ff19f05527dfc42f3cc38532c1c3bd1acd925c8e0c484e01fbc8c604ee2bcfc0cec0333e9af570b103a6241b657d
Backport of #17762, currently only backported to 0.19.
This seems like something we should opportunistically plug in case wiseguys decide it's a vector to exploit to try and fill people's disks.