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*
|
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-07-13 17:45:39 +02:00
|
|
|
[comment]: # ( SHA256STAMP:8a6857f312d202e3328443d6ca25b5318d6b5d8fe5655ff6c70466e54c5cd42d)
|