mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
contrib: Add asmap-tool
Co-authored-by: Pieter Wuille <pieter@wuille.net>
This commit is contained in:
@@ -9,11 +9,14 @@
|
||||
import argparse
|
||||
import collections
|
||||
import ipaddress
|
||||
from pathlib import Path
|
||||
import re
|
||||
import sys
|
||||
from typing import Union
|
||||
|
||||
from asmap import ASMap, net_to_prefix
|
||||
asmap_dir = Path(__file__).parent.parent / "asmap"
|
||||
sys.path.append(str(asmap_dir))
|
||||
from asmap import ASMap, net_to_prefix # noqa: E402
|
||||
|
||||
NSEEDS=512
|
||||
|
||||
|
||||
Reference in New Issue
Block a user