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

Function node_id_from_privkey

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

Source from the content-addressed store, hash-verified

170}
171
172static void node_id_from_privkey(const struct privkey *p, struct node_id *id)
173{
174 struct pubkey k;
175 pubkey_from_privkey(p, &k);
176 node_id_from_pubkey(id, &k);
177}
178
179int main(int argc, char *argv[])
180{

Callers 1

mainFunction · 0.70

Calls 2

pubkey_from_privkeyFunction · 0.85
node_id_from_pubkeyFunction · 0.85

Tested by

no test coverage detected