mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 06:54:30 +01:00
plugin: Restrict plugin notifications only to announced topics
We want to have well-behaved notifications that are clearly announced during the initialization, kill plugins that don't behave.
This commit is contained in:
committed by
Rusty Russell
parent
62e3358a5b
commit
f08ae49134
@@ -91,6 +91,8 @@ struct plugin {
|
||||
/* Location of the RPC filename in case we need to defer RPC
|
||||
* initialization or need to recover from a disconnect. */
|
||||
const char *rpc_location;
|
||||
|
||||
char **notification_topics;
|
||||
};
|
||||
|
||||
/* command_result is mainly used as a compile-time check to encourage you
|
||||
|
||||
Reference in New Issue
Block a user