diff options
author | laanwj <126646+laanwj@users.noreply.github.com> | 2022-06-16 21:43:35 +0200 |
---|---|---|
committer | laanwj <126646+laanwj@users.noreply.github.com> | 2022-06-16 21:44:52 +0200 |
commit | 7f2c983e1cfdb58b6f84eabe5ff6a16f143f39aa (patch) | |
tree | b32995de59adb54e95099abfa0834d9bc353c78b /src/net_processing.cpp | |
parent | b0c830634907076480528f1829e212eeb0e764e3 (diff) | |
parent | 667e316bcb300eec131727a7ce54dd038031e267 (diff) | |
download | bitcoin-7f2c983e1cfdb58b6f84eabe5ff6a16f143f39aa.tar.xz |
Merge bitcoin/bitcoin#24864: contrib: Use asmap for ASN lookup in makeseeds
667e316bcb300eec131727a7ce54dd038031e267 contrib: Update makeseeds to asmap-nextgen (laanwj)
ae00b9e02c819a69293fdcdab91f57b33e9275d9 contrib: add seeds progress indicator and remove asmap one in makeseeds script (Jon Atack)
b54180303de0df9be7023577f35648225cf95443 contrib: Use asmap for ASN lookup in makeseeds (laanwj)
Pull request description:
Add an argument `-a` to provide a asmap file to do the IP to ASN lookups.
This speeds up the script greatly, and makes the output deterministic. Also removes the dependency on `dns.lookup`.
I've annotated the output with ASxxxx comments to provide a way to verify the functionality.
For now I've added instructions in README.md to download and use the `demo.map` from the asmap repository. When we have some other mechanism for distributing asmap files we could switch to that.
This continues #24824. I've removed the fallbacks and extra complexity, as everyone will be using the same instructions anyway.
Co-authored-by: Pieter Wuille <pieter.wuille@gmail.com>
Co-authored-by: russeree <reese.russell@ymail.com>
ACKs for top commit:
sipa:
ACK 667e316bcb300eec131727a7ce54dd038031e267
dunxen:
re-ACK 667e316
Tree-SHA512: c4cedfbd1dee6be7547aa92dd9e262c46f0ff8099e647559b2a40eab0cc9874e9a813706630dd5c880390d23f432e789fb3e7e8a09f376f567071e68f5904c65
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions