mirror of
https://github.com/aljazceru/python-teos.git
synced 2026-02-06 15:14:39 +01:00
Applies fixes after PR review
This commit is contained in:
@@ -2,11 +2,15 @@ import json
|
||||
import plyvel
|
||||
|
||||
from pisa.logger import Logger
|
||||
from pisa.conf import WATCHER_PREFIX, RESPONDER_PREFIX, WATCHER_LAST_BLOCK_KEY, RESPONDER_LAST_BLOCK_KEY, \
|
||||
LOCATOR_MAP_PREFIX
|
||||
|
||||
logger = Logger("DBManager")
|
||||
|
||||
WATCHER_PREFIX = "w"
|
||||
WATCHER_LAST_BLOCK_KEY = "bw"
|
||||
RESPONDER_PREFIX = "r"
|
||||
RESPONDER_LAST_BLOCK_KEY = "br"
|
||||
LOCATOR_MAP_PREFIX = 'm'
|
||||
|
||||
|
||||
class DBManager:
|
||||
def __init__(self, db_path):
|
||||
|
||||
Reference in New Issue
Block a user