core-lightning/doc/lightning-delexpiredinvoice.7.md
Rusty Russell 6e636a835f tools/fromschema.py: handle deprecated null field, don't create empty lists.
1. listpeers has a deprecated `"closer": null`, which we need
   to handle in the schema, while trying not to damage our
   documentation too much.

2. Don't print a condition if there are no fields to print.

3. Allow a special "untyped" marker for multifundchannel which returns
   arbitrary JSON in a field.

4. Allow a single field return (for 'stop').

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-06-25 09:49:33 +09:30

899 B

lightning-delexpiredinvoice -- Command for removing expired invoices

SYNOPSIS

delexpiredinvoice [maxexpirytime]

DESCRIPTION

The delexpiredinvoice RPC command removes all invoices that have expired on or before the given maxexpirytime.

If maxexpirytime is not specified then all expired invoices are deleted.

RETURN VALUE

On success, an empty object is returned. comment: # (GENERATE-FROM-SCHEMA-END)

AUTHOR

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

SEE ALSO

lightning-delinvoice(7), lightning-autocleaninvoice(7)

RESOURCES

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