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

Function datastore_failed

plugins/chanbackup.c:814–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812}
813
814static struct command_result *datastore_failed(struct command *cmd,
815 const char *method,
816 const char *buf,
817 const jsmntok_t *result,
818 char *what)
819{
820 plugin_log(cmd->plugin, LOG_DBG, "datastore failed for %s: %.*s",
821 what, json_tok_full_len(result), json_tok_full(buf, result));
822 return command_hook_success(cmd);
823}
824
825/* Compares the data between the stored scb and latest recvd scb,
826 * stores the most recent one only. */

Callers

nothing calls this directly

Calls 4

plugin_logFunction · 0.70
command_hook_successFunction · 0.70
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected