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

Function pubkey

tests/fuzz/connectd_handshake.h:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55static u8 seed[randombytes_SEEDBYTES];
56
57static struct pubkey pubkey(const char *str)
58{
59 struct pubkey p;
60 assert(pubkey_from_hexstr(str, strlen(str), &p));
61 return p;
62}
63
64static struct privkey privkey(const char *str)
65{

Callers 1

initFunction · 0.70

Calls 1

pubkey_from_hexstrFunction · 0.85

Tested by

no test coverage detected