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

Function json_autoclean_status

plugins/autoclean.c:505–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503}
504
505static struct command_result *json_autoclean_status(struct command *cmd,
506 const char *buffer,
507 const jsmntok_t *params)
508{
509 enum subsystem *subsystem;
510
511 if (!param(cmd, buffer, params,
512 p_opt("subsystem", param_subsystem, &subsystem),
513 NULL))
514 return command_param_failed();
515
516 return json_success_subsystems(cmd, subsystem);
517}
518
519static struct command_result *param_u64_nonzero(struct command *cmd,
520 const char *name,

Callers

nothing calls this directly

Calls 3

json_success_subsystemsFunction · 0.85
command_param_failedFunction · 0.70
paramFunction · 0.50

Tested by

no test coverage detected