GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LIGHTNING-AUTOCLEANINVOICE(7) lightning-autocleaninvoice LIGHTNING-AUTOCLEANINVOICE(7)

lightning-autocleaninvoice - Set up auto-delete of expired invoice

autocleaninvoice [cycle_seconds] [expired_by]

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.

On success, an object is returned, containing:

enabled (boolean): whether invoice autocleaning is active

If enabled is true:

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

ZmnSCPxj <ZmnSCPxj@protonmail.com> is mainly responsible.

lightning-delexpiredinvoice(7), lightning-delinvoice(7)

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


Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.