mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
tests: add dev-query-scids
And write the test for it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -249,6 +249,16 @@ class LightningRpc(UnixDomainSocketRpc):
|
||||
"""
|
||||
return self.call("dev-crash")
|
||||
|
||||
def dev_query_scids(self, id, scids):
|
||||
"""
|
||||
Ask peer for a particular set of scids
|
||||
"""
|
||||
payload = {
|
||||
"id": id,
|
||||
"scids": scids
|
||||
}
|
||||
return self.call("dev-query-scids", payload)
|
||||
|
||||
def getinfo(self):
|
||||
"""
|
||||
Show information about this node
|
||||
|
||||
Reference in New Issue
Block a user