|
@ -64,9 +64,6 @@ from .logging import get_logger, Logger |
|
|
_logger = get_logger(__name__) |
|
|
_logger = get_logger(__name__) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# lightning network |
|
|
|
|
|
from . import lnwatcher |
|
|
|
|
|
from . import lnrouter |
|
|
|
|
|
|
|
|
|
|
|
NODES_RETRY_INTERVAL = 60 |
|
|
NODES_RETRY_INTERVAL = 60 |
|
|
SERVER_RETRY_INTERVAL = 10 |
|
|
SERVER_RETRY_INTERVAL = 10 |
|
@ -300,6 +297,8 @@ class Network(Logger): |
|
|
self._set_status('disconnected') |
|
|
self._set_status('disconnected') |
|
|
|
|
|
|
|
|
# lightning network |
|
|
# lightning network |
|
|
|
|
|
from . import lnwatcher |
|
|
|
|
|
from . import lnrouter |
|
|
self.channel_db = lnrouter.ChannelDB(self) |
|
|
self.channel_db = lnrouter.ChannelDB(self) |
|
|
self.path_finder = lnrouter.LNPathFinder(self.channel_db) |
|
|
self.path_finder = lnrouter.LNPathFinder(self.channel_db) |
|
|
self.lnwatcher = lnwatcher.LNWatcher(self) |
|
|
self.lnwatcher = lnwatcher.LNWatcher(self) |
|
|