electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 99f933401a618e6b8e32b90314cf0c890213e631
parent 9a88c13b3de000fa3a65e1039cf19c5635d83c9f
Author: ThomasV <thomasv@electrum.org>
Date:   Sun, 12 Apr 2020 12:29:46 +0200

add more logging shortcuts

Diffstat:
Melectrum/address_synchronizer.py | 1+
Melectrum/lnpeer.py | 1+
Melectrum/lnworker.py | 1+
3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/electrum/address_synchronizer.py b/electrum/address_synchronizer.py @@ -616,6 +616,7 @@ class AddressSynchronizer(Logger): self.up_to_date = up_to_date if self.network: self.network.notify('status') + self.logger.info(f'set_up_to_date: {up_to_date}') def is_up_to_date(self): with self.lock: return self.up_to_date diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py @@ -62,6 +62,7 @@ LN_P2P_NETWORK_TIMEOUT = 20 class Peer(Logger): + LOGGING_SHORTCUT = 'P' def __init__(self, lnworker: Union['LNGossip', 'LNWallet'], pubkey:bytes, transport: LNTransportBase): self._sent_init = False # type: bool diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -366,6 +366,7 @@ class LNWorker(Logger): class LNGossip(LNWorker): max_age = 14*24*3600 + LOGGING_SHORTCUT = 'g' def __init__(self, network): seed = os.urandom(32)