core-lightning/doc/lightning-autoclean-status.7.md
ShahanaFarooqui b0da807700 doc: Markdown cleanup
This commit will remove parameter descriptions from RPC markdown but we will fix it in next commits by reading these descriptions directly from json.

- Removing parameter description text
- Adding/removing newlines for cleaner formatting
- Adding ERRORS title wherever needed
- Updating titles for consistency
- Adding resources links
2024-03-19 14:58:59 +10:30

2.8 KiB

lightning-autoclean-status -- Examine auto-delete of old invoices/payments/forwards

SYNOPSIS

autoclean-status [subsystem]

DESCRIPTION

The autoclean-status RPC command tells you about the status of the autclean plugin, optionally for only one subsystem.

RETURN VALUE

Note that the ages parameters are set by various autoclean-...-age parameters in your configuration: see lightningd-config(5).

On success, an object containing autoclean is returned. It is an object containing:

  • succeededforwards (object, optional):

    • enabled (boolean): whether autocleaning is enabled for successful listforwards
    • cleaned (u64): total number of deletions done (ever)

    If enabled is true:

    • age (u64): age (in seconds) to delete successful listforwards
  • failedforwards (object, optional):

    • enabled (boolean): whether autocleaning is enabled for failed listforwards
    • cleaned (u64): total number of deletions done (ever)

    If enabled is true:

    • age (u64): age (in seconds) to delete failed listforwards
  • succeededpays (object, optional):

    • enabled (boolean): whether autocleaning is enabled for successful listpays/listsendpays
    • cleaned (u64): total number of deletions done (ever)

    If enabled is true:

    • age (u64): age (in seconds) to delete successful listpays/listsendpays
  • failedpays (object, optional):

    • enabled (boolean): whether autocleaning is enabled for failed listpays/listsendpays
    • cleaned (u64): total number of deletions done (ever)

    If enabled is true:

    • age (u64): age (in seconds) to delete failed listpays/listsendpays
  • paidinvoices (object, optional):

    • enabled (boolean): whether autocleaning is enabled for paid listinvoices
    • cleaned (u64): total number of deletions done (ever)

    If enabled is true:

    • age (u64): age (in seconds) to paid listinvoices
  • expiredinvoices (object, optional):

    • enabled (boolean): whether autocleaning is enabled for expired (unpaid) listinvoices
    • cleaned (u64): total number of deletions done (ever)

    If enabled is true:

    • age (u64): age (in seconds) to expired listinvoices

AUTHOR

Rusty Russell <rusty@rustcorp.com.au> is mainly responsible.

SEE ALSO

lightningd-config(5), lightning-listinvoices(7), lightning-listpays(7), lightning-listforwards(7).

RESOURCES

Main web site: https://github.com/ElementsProject/lightning