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

Function node_id_from_privkey

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

Source from the content-addressed store, hash-verified

318}
319
320static void node_id_from_privkey(const struct privkey *p, struct node_id *id)
321{
322 struct pubkey k;
323 pubkey_from_privkey(p, &k);
324 node_id_from_pubkey(id, &k);
325}
326
327#define NUM_NODES (ROUTING_MAX_HOPS + 1)
328

Callers 1

mainFunction · 0.70

Calls 2

pubkey_from_privkeyFunction · 0.85
node_id_from_pubkeyFunction · 0.85

Tested by

no test coverage detected