pylightning: Add new listtransactions command

[ FIXUP: Uninitialized var response used as context, changed to cmd --RR ]
This commit is contained in:
Jorge Timón
2019-06-22 02:36:29 +02:00
committed by Rusty Russell
parent 86b5b84efe
commit 83f2ccd9fd

View File

@@ -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))