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

Function hsmd_status_failed

hsmd/hsmd.c:678–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676}
677
678void hsmd_status_failed(enum status_failreason reason, const char *fmt, ...)
679{
680 va_list ap;
681 char *str;
682
683 va_start(ap, fmt);
684 str = tal_vfmt(NULL, fmt, ap);
685 va_end(ap);
686
687 /* Give a nice backtrace when this happens! */
688 if (reason == STATUS_FAIL_INTERNAL_ERROR)
689 send_backtrace(str);
690
691 status_send_fatal(take(towire_status_fail(NULL, reason, str)));
692}
693
694/* Handle BIP86 pubkey check request */
695static struct io_plan *handle_check_bip86_pubkey(struct io_conn *conn,

Callers 13

node_keyFunction · 0.70
node_schnorrkeyFunction · 0.70
bitcoin_keyFunction · 0.70
sign_our_inputsFunction · 0.70
handle_check_pubkeyFunction · 0.70
handle_sign_bolt12Function · 0.70
handle_sign_bolt12_2Function · 0.70
handle_sign_anchorspendFunction · 0.70
derive_bip86_base_keyFunction · 0.70
bip86_keyFunction · 0.70

Calls 2

status_send_fatalFunction · 0.85
send_backtraceFunction · 0.50

Tested by

no test coverage detected