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

Function json_all_notifs

tests/plugins/test_libplugin.c:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124static struct command_result *json_all_notifs(struct command *cmd,
125 const char *buf,
126 const jsmntok_t *params)
127{
128 plugin_log(cmd->plugin, LOG_DBG, "all: %s: %.*s",
129 cmd->methodname,
130 json_tok_full_len(params),
131 json_tok_full(buf, params));
132 return notification_handled(cmd);
133}
134
135static struct command_result *testrpc_cb(struct command *cmd,
136 const char *method UNUSED,

Callers

nothing calls this directly

Calls 4

plugin_logFunction · 0.50
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50
notification_handledFunction · 0.50

Tested by

no test coverage detected