mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-15 12:19:46 +01:00
makeseeds: update MIN_BLOCKS, add reminder to README
This commit is contained in:
parent
6ae7a3bc4e
commit
94e21aa5fc
2 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||||
|
|
|
@ -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+)$")
|
||||||
|
|
Loading…
Add table
Reference in a new issue