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

Function json_to_node_id

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

Source from the content-addressed store, hash-verified

534}
535
536bool json_to_node_id(const char *buffer, const jsmntok_t *tok,
537 struct node_id *id)
538{
539 return node_id_from_hexstr(buffer + tok->start,
540 tok->end - tok->start, id);
541}
542
543bool json_to_pubkey(const char *buffer, const jsmntok_t *tok,
544 struct pubkey *pubkey)

Callers 15

param_node_idFunction · 0.70
param_route_exclusionFunction · 0.70
peer_from_jsonFunction · 0.50
param_peerFunction · 0.50
param_route_hopFunction · 0.50
param_route_hopsFunction · 0.50
param_id_maybe_addrFunction · 0.50
unpack_routeFunction · 0.50
json_state_changedFunction · 0.50
setup_backup_mapFunction · 0.50

Calls 1

node_id_from_hexstrFunction · 0.70

Tested by

no test coverage detected