tcommands: add dumpgraph command to see which nodes electrum knows about - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1988b552e172c83be995e5abb5b5381a8ee18120 DIR parent 6bec42d18abd62a9c6cc0a7ba471f960187c6ca5 HTML Author: Janus <ysangkok@gmail.com> Date: Thu, 27 Sep 2018 16:39:14 +0200 commands: add dumpgraph command to see which nodes electrum knows about Diffstat: M electrum/commands.py | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum/commands.py b/electrum/commands.py t@@ -787,6 +787,10 @@ class Commands: def listchannels(self): return self.wallet.lnworker.list_channels() + @command('wn') + def dumpgraph(self): + return list(map(bh2u, self.wallet.lnworker.channel_db.nodes.keys())) + @command('n') def inject_fees(self, fees): import ast