Browse Source

commands: add dumpgraph command to see which nodes electrum knows about

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
Janus 6 years ago
committed by ThomasV
parent
commit
1988b552e1
  1. 4
      electrum/commands.py

4
electrum/commands.py

@ -787,6 +787,10 @@ class Commands:
def listchannels(self): def listchannels(self):
return self.wallet.lnworker.list_channels() return self.wallet.lnworker.list_channels()
@command('wn')
def dumpgraph(self):
return list(map(bh2u, self.wallet.lnworker.channel_db.nodes.keys()))
@command('n') @command('n')
def inject_fees(self, fees): def inject_fees(self, fees):
import ast import ast

Loading…
Cancel
Save