p2p: supplying and using asmap to improve IP bucketing in addrman#366
Merged
ca333 merged 11 commits intoGLEECBTC:devfrom Jun 10, 2020
Merged
p2p: supplying and using asmap to improve IP bucketing in addrman#366ca333 merged 11 commits intoGLEECBTC:devfrom
ca333 merged 11 commits intoGLEECBTC:devfrom
Conversation
Return the smallest number n such that (x >> n) == 0 (or 64 if the highest bit in x is set)
The scripts for creating a compact IP->ASN mapping are here: https://github.com/sipa/asmap bitcoin/bitcoin@8feb4e4
first approach to porting bitcoin/bitcoin#16702 into old v0.13 codebase.
Note: these are standart tests, which is not include asmap features.
ca333
approved these changes
Jun 10, 2020
Alrighttt
pushed a commit
to Alrighttt/komodo
that referenced
this pull request
Oct 7, 2025
Update UniValue representation in Credential class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is my try to port of bitcoin/bitcoin#16702 PR in Komodo source base.
Key points:
Tool for generation
ip_asn.mapfile:Small instruction of how to use:
ip_asn.mapwith tool above, or use the attached one:ip_asn.tar.gz
.komodofolder.-asmapoption:Unit tests results (
./komodo-test- addrman tests rewritten to use with Google Test Framework):