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

Function init

tests/plugins/feature-test.py:16–19  ·  view source on GitHub ↗
(configuration, options, plugin)

Source from the content-addressed store, hash-verified

14
15@plugin.init()
16def init(configuration, options, plugin):
17 if options.get('disable-on-init'):
18 return {'disable': 'init saying disable'}
19 return {}
20
21
22plugin.add_option('disable-on-init', False, 'disable plugin on init', opt_type='bool')

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected