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

Function init

tests/plugins/clnrest-use-options.py:11–12  ·  view source on GitHub ↗
(configuration, options, plugin)

Source from the content-addressed store, hash-verified

9
10@plugin.init()
11def init(configuration, options, plugin):
12 print(f"rest-port is {plugin.get_option('rest-port')}")
13
14
15plugin.add_option('rest-port', None, "Parameter to clash with clnrest deprecated one")

Callers

nothing calls this directly

Calls 1

get_optionMethod · 0.80

Tested by

no test coverage detected