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:
|
2022-09-05 23:33:09 +02:00
|
|
|
|
2022-09-05 23:45:06 +02:00
|
|
|
- **unsigned\_tx** (hex): the unsigned transaction
|
2021-06-16 03:10:17 +02:00
|
|
|
- **txid** (txid): the transaction id of *unsigned_tx*
|
2021-09-03 12:07:59 +02:00
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
[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
|
|
|
|
2022-09-08 03:08:00 +02:00
|
|
|
[comment]: # ( SHA256STAMP:f52ad03cccaea672deefada22f0a11acff9d0c4f98ccfedca12759eaa6bac057)
|