Browse Source

pylightning: Add new listtransactions command

[ FIXUP: Uninitialized var response used as context, changed to cmd --RR ]
pull/2938/head
Jorge Timón 6 years ago
committed by Rusty Russell
parent
commit
83f2ccd9fd
  1. 6
      contrib/pylightning/lightning/lightning.py

6
contrib/pylightning/lightning/lightning.py

@ -620,6 +620,12 @@ class LightningRpc(UnixDomainSocketRpc):
"""
return self.call("listfunds")
def listtransactions(self):
"""
Show wallet history
"""
return self.call("listtransactions")
def listinvoices(self, label=None):
"""
Show invoice {label} (or all, if no {label))

Loading…
Cancel
Save