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

Function param_check

common/json_param.c:390–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390bool param_check(struct command *cmd,
391 const char *buffer,
392 const jsmntok_t tokens[], ...)
393{
394 bool ret;
395 va_list ap;
396
397 va_start(ap, tokens);
398 ret = param_core(cmd, buffer, tokens, ap);
399 va_end(ap);
400
401 return ret;
402}
403
404struct command_result *param_array(struct command *cmd, const char *name,
405 const char *buffer, const jsmntok_t *tok,

Callers 15

json_signpsbtFunction · 0.85
json_setpsbtversionFunction · 0.85
json_dev_finalizepsbtFunction · 0.85
json_sendpsbtFunction · 0.85
json_reserveinputsFunction · 0.85
json_unreserveinputsFunction · 0.85
json_fundpsbtFunction · 0.85
json_addpsbtoutputFunction · 0.85
json_addpsbtinputFunction · 0.85
json_utxopsbtFunction · 0.85
json_openchannel_abortFunction · 0.85
json_openchannel_bumpFunction · 0.85

Calls 1

param_coreFunction · 0.85

Tested by 1

json_checkthisFunction · 0.68