Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
bool pubkey_from_privkey(const struct privkey *privkey,
45
struct pubkey *key)
46
{
47
return pubkey_from_secret(&privkey->secret, key);
48
}
49
50
bool pubkey_from_hexstr(const char *derstr, size_t slen, struct pubkey *key)
51
{
Callers
15
hsm_key_for_utxo
Function · 0.85
handle_sign_to_us_tx
Function · 0.85
handle_get_output_scriptpubkey
Function · 0.85
do_sign_local_htlc_tx
Function · 0.85
main
Function · 0.85
handle_peer_revoke_and_ack
Function · 0.85
main
Function · 0.85
add_stub_blindedpath
Function · 0.85
make_peer_node
Function · 0.85
populate_node_map
Function · 0.85
init
Function · 0.85
blinded_path_from_encdata_tlvs
Function · 0.85
Calls
1
pubkey_from_secret
Function · 0.85
Tested by
14
main
Function · 0.68
main
Function · 0.68
main
Function · 0.68
main
Function · 0.68
add_hop
Function · 0.68
main
Function · 0.68
test_decrypt
Function · 0.68
test_final_decrypt
Function · 0.68
main
Function · 0.68
node_id_from_privkey
Function · 0.68
main
Function · 0.68
node_id_from_privkey
Function · 0.68