Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
LIGHTNING-AUTOCLEANINVOICElightning-autocleaninvoLIGHTNING-AUTOCLEANINVOICE(7)

NAME
       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_sec-
       onds  to	 0 disables autoclean. If not specified, this defaults to 3600
       (one hour).

       Every autoclean cycle, expired invoices,	which have  already  been  ex-
       pired  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 object is	returned, containing:

	      o	     enabled (boolean):	whether	invoice	autocleaning is	active

       If enabled is true:

	      o	     expired_by	(u64): how long	an  invoice  must  be  expired
		     (seconds) before we delete	it

	      o	     cycle_seconds  (u64): how long an invoice must be expired
		     (seconds) before we delete	it

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

						 LIGHTNING-AUTOCLEANINVOICE(7)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | SEE ALSO | RESOURCES

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=lightning-autocleaninvoice&sektion=7&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help