mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
json-rpc: Rename getroutestats and move stats to getinfo
Signed-off-by: Christian Decker <@cdecker>
This commit is contained in:
committed by
Rusty Russell
parent
6d333f16cc
commit
6b7546b94d
@@ -428,14 +428,10 @@ class LightningRpc(UnixDomainSocketRpc):
|
||||
"""
|
||||
return self.call("listfunds")
|
||||
|
||||
def getroutestats(self, details=True):
|
||||
"""Get statistics about routed payments.
|
||||
|
||||
If @details is True, this'll include the individual forwarded
|
||||
payments.
|
||||
|
||||
def listforwards(self):
|
||||
"""List all forwarded payments and their information
|
||||
"""
|
||||
return self.call("getroutestats", payload={'details': details})
|
||||
return self.call("listforwards")
|
||||
|
||||
def dev_rescan_outputs(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user