From 94e21aa5fc5e06dbf9aefeaad44fe401a4250974 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Tue, 4 Mar 2025 15:11:18 -0600 Subject: [PATCH] makeseeds: update MIN_BLOCKS, add reminder to README --- contrib/seeds/README.md | 2 ++ contrib/seeds/makeseeds.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/seeds/README.md b/contrib/seeds/README.md index 10945e5b685..eb5d1b49981 100644 --- a/contrib/seeds/README.md +++ b/contrib/seeds/README.md @@ -8,6 +8,8 @@ and remove old versions as necessary (at a minimum when SeedsServiceFlags() changes its default return value, as those are the services which seeds are added to addrman with). +Update `MIN_BLOCKS` in `makeseeds.py` and the `-m`/`--minblocks` arguments below, as needed. + The seeds compiled into the release are created from sipa's, achow101's and luke-jr's DNS seed, virtu's crawler, and asmap community AS map data. Run the following commands from the `/contrib/seeds` directory: diff --git a/contrib/seeds/makeseeds.py b/contrib/seeds/makeseeds.py index 81c1173877a..a14af15fb2a 100755 --- a/contrib/seeds/makeseeds.py +++ b/contrib/seeds/makeseeds.py @@ -26,7 +26,7 @@ MAX_SEEDS_PER_ASN = { 'ipv6': 10, } -MIN_BLOCKS = 840000 +MIN_BLOCKS = 868000 PATTERN_IPV4 = re.compile(r"^((\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})):(\d+)$") PATTERN_IPV6 = re.compile(r"^\[([0-9a-z:]+)\]:(\d+)$")