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-txdiscard -- Abandon a transaction from txprepare, release inputs
SYNOPSIS
txdiscard txid
DESCRIPTION
The txdiscard RPC command releases inputs which were reserved for use of the txid from lightning-txprepare(7).
RETURN VALUE
On success, an object with attributes unsigned_tx and txid will be returned, exactly as from lightning-txprepare(7).
If there is no matching txid, an error is reported. Note that this may happen due to incorrect usage (such as txdiscard or txsend already being called for txid) or due to lightningd restarting, which implicitly calls txdiscard on all outputs.
The following error codes may occur:
- -1: An unknown txid.
AUTHOR
Rusty Russell <rusty@rustcorp.com.au> is mainly responsible.
SEE ALSO
lightning-txprepare(7), lightning-txsend(7)
RESOURCES
Main web site: https://github.com/ElementsProject/lightning