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

Function node_id_from_privkey

plugins/renepay/test/common.h:100–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100static void node_id_from_privkey(const struct privkey *p, struct node_id *id)
101{
102 struct pubkey k;
103 pubkey_from_privkey(p, &k);
104 node_id_from_pubkey(id, &k);
105}
106
107
108#endif /* LIGHTNING_PLUGINS_RENEPAY_TEST_COMMON_H */

Callers 1

mainFunction · 0.70

Calls 2

pubkey_from_privkeyFunction · 0.85
node_id_from_pubkeyFunction · 0.85

Tested by

no test coverage detected