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

Function hsm_capable

lightningd/hsm_control.c:75–78  ·  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

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

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