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

Function node_id

plugins/test/run-route-calc.c:175–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175static void node_id(char n, struct node_id *id)
176{
177 struct privkey p;
178 struct pubkey k;
179 memset(&p, n, sizeof(p));
180 pubkey_from_privkey(&p, &k);
181 node_id_from_pubkey(id, &k);
182}
183
184static struct short_channel_id_dir add_connection(int store_fd, char from, char to,
185 u32 base_fee,

Callers 2

add_connectionFunction · 0.70
mainFunction · 0.70

Calls 2

pubkey_from_privkeyFunction · 0.85
node_id_from_pubkeyFunction · 0.85

Tested by

no test coverage detected