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

Function notify_ack

plugins/bwatch/bwatch_interface.c:18–25  ·  view source on GitHub ↗

Callback for watch_found RPC. * watch_found notifications are sent on an aux command so they cannot * interfere with the poll command lifetime. */

Source from the content-addressed store, hash-verified

16 * watch_found notifications are sent on an aux command so they cannot
17 * interfere with the poll command lifetime. */
18static struct command_result *notify_ack(struct command *cmd,
19 const char *method UNUSED,
20 const char *buf UNUSED,
21 const jsmntok_t *result UNUSED,
22 void *arg UNUSED)
23{
24 return aux_command_done(cmd);
25}
26
27/* Send watch_found notification to lightningd. */
28void bwatch_send_watch_found(struct command *cmd,

Callers

nothing calls this directly

Calls 1

aux_command_doneFunction · 0.85

Tested by

no test coverage detected