makeseeds: update MIN_BLOCKS, add reminder to README

This commit is contained in:
Jon Atack 2025-03-04 15:11:18 -06:00
parent 6ae7a3bc4e
commit 94e21aa5fc
2 changed files with 3 additions and 1 deletions

View file

@ -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 changes its default return value, as those are the services which seeds are added
to addrman with). 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 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 DNS seed, virtu's crawler, and asmap community AS map data. Run the following commands
from the `/contrib/seeds` directory: from the `/contrib/seeds` directory:

View file

@ -26,7 +26,7 @@ MAX_SEEDS_PER_ASN = {
'ipv6': 10, '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_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+)$") PATTERN_IPV6 = re.compile(r"^\[([0-9a-z:]+)\]:(\d+)$")