2019-08-31 14:30:56 +02:00
|
|
|
lightning-txdiscard -- Abandon a transaction from txprepare, release inputs
|
|
|
|
===========================================================================
|
2019-08-10 01:54:18 +02:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
|
|
|
**txdiscard** *txid*
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
The **txdiscard** RPC command releases inputs which were reserved for
|
|
|
|
use of the *txid* from lightning-txprepare(7).
|
|
|
|
|
|
|
|
RETURN VALUE
|
|
|
|
------------
|
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
|
|
On success, an object is returned, containing:
|
|
|
|
- **unsigned_tx** (hex): the unsigned transaction
|
|
|
|
- **txid** (txid): the transaction id of *unsigned_tx*
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
2019-08-10 01:54:18 +02:00
|
|
|
|
|
|
|
If there is no matching *txid*, an error is reported. Note that this may
|
2021-06-16 03:10:17 +02:00
|
|
|
happen due to incorrect usage, such as **txdiscard** or **txsend**
|
|
|
|
already being called for *txid*.
|
2019-08-10 01:54:18 +02:00
|
|
|
|
|
|
|
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>
|
2020-08-25 03:33:16 +02:00
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
[comment]: # ( SHA256STAMP:116f3262cc632e3a437d6629cd641020549f60b1264ad093e6591d5e5f83a6f0)
|