2019-08-10 02:12:44 +02:00
|
|
|
.TH "LIGHTNING-AUTOCLEANINVOICE" "7" "" "" "lightning-autocleaninvoice"
|
|
|
|
.SH NAME
|
2019-08-31 14:30:56 +02:00
|
|
|
lightning-autocleaninvoice - Set up auto-delete of expired invoice
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
lightning-autocleaninvoice - Set up auto-delete of expired invoice
|
|
|
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
2018-04-16 14:30:07 +02:00
|
|
|
\fBautocleaninvoice\fR [\fIcycle_seconds\fR] [\fIexpired_by\fR]
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
|
|
|
The \fBautocleaninvoice\fR RPC command sets up automatic cleaning of
|
|
|
|
expired invoices\.
|
|
|
|
|
|
|
|
|
|
|
|
Autoclean will be done every \fIcycle_seconds\fR seconds\. Setting
|
|
|
|
\fIcycle_seconds\fR 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 \fIexpired_by\fR seconds, will be deleted\. If \fIexpired_by\fR is
|
|
|
|
not specified, this defaults to 86400 (one day)\.
|
|
|
|
|
|
|
|
|
|
|
|
On startup of the daemon, no autoclean is set up\.
|
|
|
|
|
|
|
|
.SH RETURN VALUE
|
|
|
|
|
|
|
|
On success, an empty object is returned\.
|
|
|
|
|
|
|
|
.SH AUTHOR
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
ZmnSCPxj \fI<ZmnSCPxj@protonmail.com\fR> is mainly responsible\.
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
|
|
|
\fBlightning-delexpiredinvoice\fR(7), \fBlightning-delinvoice\fR(7)
|
|
|
|
|
|
|
|
.SH RESOURCES
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
2019-08-10 02:12:44 +02:00
|
|
|
|