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

Function json_scan

common/json_parse.c:492–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492const char *json_scan(const tal_t *ctx,
493 const char *buffer,
494 const jsmntok_t *tok,
495 const char *guide,
496 ...)
497{
498 va_list ap;
499 const char *ret;
500
501 va_start(ap, guide);
502 ret = json_scanv(ctx, buffer, tok, guide, ap);
503 va_end(ap);
504 return ret;
505}
506
507bool json_to_bitcoin_amount(const char *buffer, const jsmntok_t *tok,
508 uint64_t *satoshi)

Callers 15

param_routehintFunction · 0.70
json_to_blinded_pathFunction · 0.70
plugin_config_cbFunction · 0.50
plugin_hook_callbackFunction · 0.50
routehint_candidatesFunction · 0.50
parse_feerate_rangesFunction · 0.50
sendrawtx_callbackFunction · 0.50
getchaininfo_callbackFunction · 0.50
getutxout_callbackFunction · 0.50

Calls 1

json_scanvFunction · 0.85

Tested by

no test coverage detected