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

Function json_autoclean_status

plugins/autoclean.c:750–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748}
749
750static struct command_result *json_autoclean_status(struct command *cmd,
751 const char *buffer,
752 const jsmntok_t *params)
753{
754 struct subsystem_and_variant *sv;
755
756 if (!param(cmd, buffer, params,
757 p_opt("subsystem", param_subsystem, &sv),
758 NULL))
759 return command_param_failed();
760
761 return json_success_subsystems(cmd, sv);
762}
763
764static struct command_result *param_u64_nonzero(struct command *cmd,
765 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