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

Function opt_set_hsm_passphrase

lightningd/options.c:630–633  ·  view source on GitHub ↗

Set flag to indicate hsm_secret needs a passphrase. * This replaces the old --encrypted-hsm option which was for legacy encrypted secrets. */

Source from the content-addressed store, hash-verified

628 * This replaces the old --encrypted-hsm option which was for legacy encrypted secrets.
629 */
630static char *opt_set_hsm_passphrase(struct lightningd *ld)
631{
632 return read_hsm_passphrase(ld);
633}
634
635
636static char *opt_force_privkey(const char *optarg, struct lightningd *ld)

Callers

nothing calls this directly

Calls 1

read_hsm_passphraseFunction · 0.85

Tested by

no test coverage detected