mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
c3254e6639
mrkd started enforcing the `name -- short description` style of top-level headings somewhere, and was thus failing to build the man-pages. I swapped the title and with the existing short description to make it work again. `mrkd` will automatically infer the section from the filename so no need to put it in the title as well. In addition I removed the "last updated" lines at the bottom since they are out of date at best, and misleading at the worst. If we want to keep them, I'd suggest generating them from the commit that last touched them.
1.0 KiB
1.0 KiB
lightning-autocleaninvoice -- Set up auto-delete of expired invoice
SYNOPSIS
autocleaninvoice [cycle_seconds] [expired_by]
DESCRIPTION
The autocleaninvoice RPC command sets up automatic cleaning of expired invoices.
Autoclean will be done every cycle_seconds seconds. Setting cycle_seconds to 0 disables autoclean. If not specified, this defaults to 3600 (one hour).
Every autoclean cycle, expired invoices, which have already been expired for at least expired_by seconds, will be deleted. If expired_by is not specified, this defaults to 86400 (one day).
On startup of the daemon, no autoclean is set up.
RETURN VALUE
On success, an empty object is returned.
AUTHOR
ZmnSCPxj <ZmnSCPxj@protonmail.com> is mainly responsible.
SEE ALSO
lightning-delexpiredinvoice(7), lightning-delinvoice(7)
RESOURCES
Main web site: https://github.com/ElementsProject/lightning