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

Function hsm_capable

lightningd/hsm_control.c:77–80  ·  view source on GitHub ↗

Is this capability supported by the HSM? (So far, always a message * number) */

Source from the content-addressed store, hash-verified

75/* Is this capability supported by the HSM? (So far, always a message
76 * number) */
77bool hsm_capable(struct lightningd *ld, u32 msgtype)
78{
79 return hsm_is_capable(ld->hsm_capabilities, msgtype);
80}
81
82struct ext_key *hsm_init(struct lightningd *ld)
83{

Callers 8

delete_channelFunction · 0.70
create_anchor_detailsFunction · 0.70
hsm_initFunction · 0.70
bip32_pubkeyFunction · 0.70
bip86_pubkeyFunction · 0.70
json_preapproveinvoiceFunction · 0.70
json_preapprovekeysendFunction · 0.70
json_signmessagewithkeyFunction · 0.50

Calls 1

hsm_is_capableFunction · 0.85

Tested by

no test coverage detected