MCPcopy Create free account
hub / github.com/ElementsProject/lightning / reject

Function reject

tests/plugins/static.py:19–22  ·  view source on GitHub ↗

Mark a given node_id as reject for future connections.

(plugin)

Source from the content-addressed store, hash-verified

17
18@plugin.method('hello')
19def reject(plugin):
20 """Mark a given node_id as reject for future connections.
21 """
22 return "Hello, you cannot stop me without stopping lightningd"
23
24
25plugin.run()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected