contrib: Add asmap-tool

Co-authored-by: Pieter Wuille <pieter@wuille.net>
This commit is contained in:
Fabian JahrandPieter Wuille committed 2024-04-25 17:27:08 +02:00
1 parent 8da62a1041
commit 6abe772a17
4 files changed
+176 -3

No files matched your search

+4 -1
View File
@@ -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