mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-29 10:04:41 +01:00
b9ac032329
The idea is that you regenerate the man pages in the same commit you alter them: that's how we know whether to try regenerating them or not (git doesn't store timestamps, so it can't really tell). Travis will now check this, so force them all to sync to this commit. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
44 lines
1.0 KiB
Markdown
44 lines
1.0 KiB
Markdown
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>
|
|
|