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

Function json_to_node_id

common/json_parse.c:531–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531bool json_to_node_id(const char *buffer, const jsmntok_t *tok,
532 struct node_id *id)
533{
534 return node_id_from_hexstr(buffer + tok->start,
535 tok->end - tok->start, id);
536}
537
538bool json_to_pubkey(const char *buffer, const jsmntok_t *tok,
539 struct pubkey *pubkey)

Callers 2

param_node_idFunction · 0.70
param_route_exclusionFunction · 0.70

Calls 1

node_id_from_hexstrFunction · 0.70

Tested by

no test coverage detected