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

Function node_id_from_privkey

common/test/run-route.c:160–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160static void node_id_from_privkey(const struct privkey *p, struct node_id *id)
161{
162 struct pubkey k;
163 pubkey_from_privkey(p, &k);
164 node_id_from_pubkey(id, &k);
165}
166
167int main(int argc, char *argv[])
168{

Callers 1

mainFunction · 0.70

Calls 2

pubkey_from_privkeyFunction · 0.85
node_id_from_pubkeyFunction · 0.85

Tested by

no test coverage detected