mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 19:37:27 -03:00
contrib: make-seeds updates for 24.x
This commit is contained in:
parent
6075a0be3c
commit
7fd9028017
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
# Copyright (c) 2013-2020 The Bitcoin Core developers
|
||||
# Copyright (c) 2013-2022 The Bitcoin Core developers
|
||||
# Distributed under the MIT software license, see the accompanying
|
||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
#
|
||||
|
@ -7,10 +7,10 @@
|
|||
#
|
||||
|
||||
import argparse
|
||||
import collections
|
||||
import ipaddress
|
||||
import re
|
||||
import sys
|
||||
import collections
|
||||
from typing import List, Dict, Union
|
||||
|
||||
from asmap import ASMap, net_to_prefix
|
||||
|
@ -38,7 +38,8 @@ PATTERN_AGENT = re.compile(
|
|||
r"0.20.(0|1|2|99)|"
|
||||
r"0.21.(0|1|2|99)|"
|
||||
r"22.(0|99)|"
|
||||
r"23.99"
|
||||
r"23.(0|99)|"
|
||||
r"24.99"
|
||||
r")")
|
||||
|
||||
def parseline(line: str) -> Union[dict, None]:
|
||||
|
|
Loading…
Reference in a new issue