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

Function check_signed_hash_nodeid

common/node_id.c:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool check_signed_hash_nodeid(const struct sha256_double *hash,
73 const secp256k1_ecdsa_signature *signature,
74 const struct node_id *id)
75{
76 struct pubkey key;
77
78 return pubkey_from_node_id(&key, id)
79 && check_signed_hash(hash, signature, &key);
80}

Callers 4

sigcheck_channel_updateFunction · 0.85
check_announce_sigsFunction · 0.85

Calls 2

check_signed_hashFunction · 0.85
pubkey_from_node_idFunction · 0.70

Tested by

no test coverage detected