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

Function pubkey_from_privkey

bitcoin/pubkey.c:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44bool pubkey_from_privkey(const struct privkey *privkey,
45 struct pubkey *key)
46{
47 return pubkey_from_secret(&privkey->secret, key);
48}
49
50bool pubkey_from_hexstr(const char *derstr, size_t slen, struct pubkey *key)
51{

Callers 15

hsm_key_for_utxoFunction · 0.85
handle_sign_to_us_txFunction · 0.85
do_sign_local_htlc_txFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
add_stub_blindedpathFunction · 0.85
make_peer_nodeFunction · 0.85
populate_node_mapFunction · 0.85
initFunction · 0.85

Calls 1

pubkey_from_secretFunction · 0.85

Tested by 14

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
add_hopFunction · 0.68
mainFunction · 0.68
test_decryptFunction · 0.68
test_final_decryptFunction · 0.68
mainFunction · 0.68
node_id_from_privkeyFunction · 0.68
mainFunction · 0.68
node_id_from_privkeyFunction · 0.68