-
Notifications
You must be signed in to change notification settings - Fork 38.7k
addrman: log AS only when using asmap #28729
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
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
|
Can you share an example log before and after? |
This PR (without asmap): master (without asmap): |
1cf8440 to
3e3f5dd
Compare
|
ACK 3e3f5ddb9a8ac27ea509fe3dd09b783472c1ce9a |
|
utACK 3e3f5ddb9a8ac27ea509fe3dd09b783472c1ce9a |
mzumsande
left a comment
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.
Concept ACK
Would be good to do the same thing to the log in AddrManImpl::Good_().
Nice find, addressing it. |
3e3f5dd to
02a4f1a
Compare
|
Force-pushed changing the log in |
|
ACK 02a4f1a |
|
Code Review ACK 02a4f1a |
This PR changes the log to just print the ASN when using asmap, same logic presented in other logs:
bitcoin/src/net_processing.cpp
Lines 3552 to 3556 in afa081a
bitcoin/src/net_processing.cpp
Lines 3598 to 3604 in afa081a