Bitcoin
|
Namespaces | |
makeseeds | |
Functions | |
def | makeseeds.parseline (line) |
def | makeseeds.filtermultiport (ips) |
def | makeseeds.filterbyasn (ips, max_per_asn, max_total) |
def | makeseeds.main () |
Variables | |
int | makeseeds.NSEEDS = 512 |
int | makeseeds.MAX_SEEDS_PER_ASN = 2 |
int | makeseeds.MIN_BLOCKS = 337600 |
dictionary | makeseeds.SUSPICIOUS_HOSTS |
makeseeds.PATTERN_IPV4 = re.compile(r"^((\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})):(\d+)$") | |
makeseeds.PATTERN_IPV6 = re.compile(r"^\[([0-9a-z:]+)\]:(\d+)$") | |
makeseeds.PATTERN_ONION = re.compile(r"^([abcdefghijklmnopqrstuvwxyz234567]{16}\.onion):(\d+)$") | |
makeseeds.PATTERN_AGENT = re.compile(r"^(/Satoshi:0.14.(0|1|2|99)/|/Satoshi:0.15.(0|1|2|99)|/Satoshi:0.16.(0|1|2|99)/)$") | |