-
Notifications
You must be signed in to change notification settings - Fork 37.8k
doc: Update high-level addrman description #22576
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
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.
ACK. The current documentation is incorrect, and these new comments are clear. Thanks for documenting this!
d8e5aa7
to
004324c
Compare
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.
ACK; good idea, thanks for updating the documentation.
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.
ACK 004324c thanks for correcting this!
so, funnily enough, I recently also noticed some incorrect addrman documentation- namely the description for Create()
. If you're interested, feel free to cherry-pick that / any of the other addrman doc improvements that I have over here- amitiuttarwar@3b50703
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.
ACK 004324c
ACK 004324c (happy to reACK if you take @jonatack or @amitiuttarwar suggestions) |
Co-authored-by: Martin Zumsande <mzumsande@gmail.com>
004324c
to
036d7ea
Compare
Thanks for the reviews! I took all the suggestions on the high-level description. @amitiuttarwar Good find with |
looks good, thanks for fixing these :) reACK 036d7ea |
@lsilva01 want to re-ACK? (can't request a re-review). |
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.
ACK 036d7ea
One minor comment inline. Feel free to ignore.
036d7ea doc: Correct description of CAddrMan::Create() (Amiti Uttarwar) 318176a doc: Update high-level addrman description (Martin Zumsande) Pull request description: The high-level description of `addrman` has outdated information with respect to the eviction behavior, both for the New and Tried tables (at least since bitcoin#5941) - this has confused me in the past. This PR corrects this and also adds basic info about the bucket size and position. ACKs for top commit: amitiuttarwar: reACK 036d7ea jnewbery: ACK 036d7ea Tree-SHA512: 3f0635d765f5e580a1fae31187742a833cef66ef2286d40eeb28f2253521260038e16e5f1a65741464a2ddfdbeb5c0f1bc38bf73841e600639033d59c3c534e4
The high-level description of
addrman
has outdated information with respect to the eviction behavior, both for the New and Tried tables (at least since #5941) - this has confused me in the past.This PR corrects this and also adds basic info about the bucket size and position.