mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-08 15:44:19 +01:00
libplugin: demarshal and stash the feature set given by lightningd.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -90,6 +90,9 @@ struct plugin_hook {
|
||||
const jsmntok_t *params);
|
||||
};
|
||||
|
||||
/* Return the feature set of the current lightning node */
|
||||
const struct feature_set *plugin_feature_set(const struct plugin *p);
|
||||
|
||||
/* Helper to create a JSONRPC2 request stream. Send it with `send_outreq`. */
|
||||
struct out_req *
|
||||
jsonrpc_request_start_(struct plugin *plugin, struct command *cmd,
|
||||
|
||||
Reference in New Issue
Block a user