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
handle_sign_local_htlc_tx
Function · 0.85
main
Function · 0.85
handle_peer_revoke_and_ack
Function · 0.85
main
Function · 0.85
json_blindedpath
Function · 0.85
blind_node
Function · 0.85
derive_basepoints
Function · 0.85
derive_payment_basepoint
Function · 0.85
derive_delayed_payment_basepoint
Function · 0.85
Calls
1
pubkey_from_secret
Function · 0.85
Tested by
11
main
Function · 0.68
main
Function · 0.68
main
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
main
Function · 0.68
node_id_from_privkey
Function · 0.68