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

Function node_id_from_privkey

plugins/test/run-route-overlong.c:218–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218static void node_id_from_privkey(const struct privkey *p, struct node_id *id)
219{
220 struct pubkey k;
221 pubkey_from_privkey(p, &k);
222 node_id_from_pubkey(id, &k);
223}
224
225#define NUM_NODES (ROUTING_MAX_HOPS + 1)
226

Callers 1

mainFunction · 0.70

Calls 2

pubkey_from_privkeyFunction · 0.85
node_id_from_pubkeyFunction · 0.85

Tested by

no test coverage detected