2019-08-10 02:12:44 +02:00
|
|
|
.TH "LIGHTNING-TXDISCARD" "7" "" "" "lightning-txdiscard"
|
|
|
|
.SH NAME
|
2019-08-31 14:30:56 +02:00
|
|
|
lightning-txdiscard - Abandon a transaction from txprepare, release inputs
|
2019-08-10 02:12:44 +02:00
|
|
|
.SH SYNOPSIS
|
|
|
|
|
2019-06-05 09:00:05 +02:00
|
|
|
\fBtxdiscard\fR \fItxid\fR
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
|
|
|
The \fBtxdiscard\fR RPC command releases inputs which were reserved for
|
|
|
|
use of the \fItxid\fR from \fBlightning-txprepare\fR(7)\.
|
|
|
|
|
|
|
|
.SH RETURN VALUE
|
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
On success, an object is returned, containing:
|
2019-08-10 02:12:44 +02:00
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
.RS
|
|
|
|
.IP \[bu]
|
|
|
|
\fBunsigned_tx\fR (hex): the unsigned transaction
|
|
|
|
.IP \[bu]
|
|
|
|
\fBtxid\fR (txid): the transaction id of \fIunsigned_tx\fR
|
|
|
|
|
|
|
|
.RE
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
If there is no matching \fItxid\fR, an error is reported\. Note that this may
|
2021-06-16 03:10:17 +02:00
|
|
|
happen due to incorrect usage, such as \fBtxdiscard\fR or \fBtxsend\fR
|
|
|
|
already being called for \fItxid\fR\.
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
|
2019-06-05 09:00:05 +02:00
|
|
|
The following error codes may occur:
|
2019-08-10 02:12:44 +02:00
|
|
|
|
2020-06-25 07:10:41 +02:00
|
|
|
.RS
|
2019-08-10 02:12:44 +02:00
|
|
|
.IP \[bu]
|
|
|
|
-1: An unknown \fItxid\fR\.
|
|
|
|
|
2020-06-25 07:10:41 +02:00
|
|
|
.RE
|
2019-08-10 02:12:44 +02:00
|
|
|
.SH AUTHOR
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
Rusty Russell \fI<rusty@rustcorp.com.au\fR> is mainly responsible\.
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
|
|
|
\fBlightning-txprepare\fR(7), \fBlightning-txsend\fR(7)
|
|
|
|
|
|
|
|
.SH RESOURCES
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
2019-08-10 02:12:44 +02:00
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
\" SHA256STAMP:af562e4efa41431ac7692900acd231e8baf91c1fab4884788ee9746242aac8d6
|