Skip to content

Commit 1294052

Browse files
committed
refactor util.py
1 parent 38d7aac commit 1294052

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/warnet/util.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
import logging
2-
from importlib.resources import files
3-
4-
logger = logging.getLogger("utils")
5-
6-
SUPPORTED_TAGS = ["27.0", "26.0", "25.1", "24.2", "23.2", "22.2"]
7-
DEFAULT_TAG = SUPPORTED_TAGS[0]
8-
WEIGHTED_TAGS = [
9-
tag for index, tag in enumerate(reversed(SUPPORTED_TAGS)) for _ in range(index + 1)
10-
]
11-
SRC_DIR = files("warnet")
12-
13-
141
def create_cycle_graph(n: int, version: str, bitcoin_conf: str | None, random_version: bool):
15-
raise Exception("Not Implemented")
2+
raise NotImplementedError("create_cycle_graph function is not implemented")
163

174

185
def parse_bitcoin_conf(file_content):

0 commit comments

Comments
 (0)