diff --git a/server/block_processor.py b/server/block_processor.py index 60299ac..55a28f0 100644 --- a/server/block_processor.py +++ b/server/block_processor.py @@ -21,7 +21,6 @@ from functools import partial from server.daemon import Daemon, DaemonError from server.version import VERSION from lib.hash import hash_to_str -from lib.tx import Deserializer from lib.util import chunks, LoggedClass import server.db from server.storage import open_db diff --git a/server/protocol.py b/server/protocol.py index 63460a2..6e1051e 100644 --- a/server/protocol.py +++ b/server/protocol.py @@ -14,11 +14,12 @@ import json import ssl import time import traceback -from collections import namedtuple +from collections import defaultdict, namedtuple from functools import partial from lib.hash import sha256, double_sha256, hash_to_str, hex_str_to_hash from lib.jsonrpc import JSONRPC, json_notification_payload +from lib.tx import Deserializer from lib.util import LoggedClass from server.block_processor import BlockProcessor from server.daemon import DaemonError