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

Function derive_shaseed

common/derive_basepoints.c:169–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169bool derive_shaseed(const struct secret *seed, struct sha256 *shaseed)
170{
171 struct keys keys;
172
173 derive_keys(seed, &keys);
174
175 *shaseed = keys.shaseed;
176 return true;
177}
178
179bool derive_funding_key(const struct secret *seed,
180 struct pubkey *funding_pubkey,

Callers 8

dump_commitments_infosFunction · 0.85
do_sign_local_htlc_txFunction · 0.85
mainFunction · 0.85

Calls 1

derive_keysFunction · 0.70

Tested by 1

mainFunction · 0.68