mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
commands: add dumpgraph command to see which nodes electrum knows about
This commit is contained in:
parent
6c265bf949
commit
dd576df67e
1 changed files with 4 additions and 0 deletions
|
@ -768,6 +768,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
|
||||
|
|
Loading…
Add table
Reference in a new issue