forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lightning-txdiscard.7.txt
42 lines (32 loc) · 1015 Bytes
/
lightning-txdiscard.7.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
LIGHTNING-TXDISCARD(7)
======================
:doctype: manpage
NAME
----
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 <[email protected]> is mainly responsible.
SEE ALSO
--------
lightning-txprepare(7), lightning-txsend(7)
RESOURCES
---------
Main web site: https://github.com/ElementsProject/lightning