You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, if a plugin dies before lightningd for whatever reason while having registered a hook, lightningd will hang forever when sending a "hook request" to the plugin. We might want to rely more on plugin for more crucial operations (for example, RPC wallet locking, Bitcoin network interface), hence a special kind of plugins -"crucial" plugins- might be defined so that if they die, lightningd does too. lightningd isnt stuck anymore as of #3496, and #3213 (comment) is overall a better proposal.
The text was updated successfully, but these errors were encountered:
As an added idea, we should mark plugins that are part of our distribution, and which implement commands that were previously built-in to lightningd, as crucial as well. #3373 shows that some boutique installations processes do not properly install our distributed plugins.
This might not necessarily be the same as the "crucial" concept described here, however. We need to be able to mark plugins as needed by lightningd even at the start, i.e. we have an option flag --crucial-plugin=foo which causes lightningd to exit immediately if those plugins never got started in the first place, and add our builtin plugins to that set, so that installations missing our "builtin" plugins will fail immediately.
For now, if a plugin dies beforelightningd
for whatever reason while having registered a hook,lightningd
will hang forever when sending a "hook request" to the plugin. We might want to rely more on plugin for more crucial operations (for example, RPC wallet locking, Bitcoin network interface), hence a special kind of plugins -"crucial" plugins- might be defined so that if they die,lightningd
does too.lightningd
isnt stuck anymore as of #3496, and #3213 (comment) is overall a better proposal.The text was updated successfully, but these errors were encountered: