lightningd/plugin.c: Add a --dev-builtin-plugins-unimportant for developers who want to mess around with the builtin plugins.

This commit is contained in:
ZmnSCPxj jxPCSnmZ
2020-08-04 15:24:42 +08:00
committed by neil saitug
parent 1aa076845a
commit 1ded3fc52f
4 changed files with 39 additions and 0 deletions

View File

@@ -110,6 +110,11 @@ struct plugins {
/* Whether we are shutting down (`plugins_free` is called) */
bool shutdown;
#if DEVELOPER
/* Whether builtin plugins should be overridden as unimportant. */
bool dev_builtin_plugins_unimportant;
#endif /* DEVELOPER */
};
/* The value of a plugin option, which can have different types.