mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
985048edf8
This allows you to prepare a tx, then release or discard it later. Shares almost all the code with json_withdraw (which is now technically superfluous). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
44 lines
888 B
Plaintext
44 lines
888 B
Plaintext
LIGHTNING-TXSEND(7)
|
|
===================
|
|
:doctype: manpage
|
|
|
|
NAME
|
|
----
|
|
lightning-txsend - Command to sign and send transaction from txprepare
|
|
|
|
SYNOPSIS
|
|
--------
|
|
*txsend* 'txid'
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
The *txsend* RPC command signs and broadcasts a transaction created by
|
|
*txprepare*.
|
|
|
|
RETURN VALUE
|
|
------------
|
|
On success, an object with attributes 'tx' and 'txid' will be
|
|
returned.
|
|
|
|
'tx' represents the fully signed raw bitcoin transaction, and 'txid'
|
|
is the same as the 'txid' argument.
|
|
|
|
On failure, an error is reported (from bitcoind), and the inputs from
|
|
the transaction are unreserved.
|
|
|
|
The following error codes may occur:
|
|
|
|
* -1. Catchall nonspecific error.
|
|
|
|
AUTHOR
|
|
------
|
|
Rusty Russell <rusty@rustcorp.com.au> is mainly responsible.
|
|
|
|
SEE ALSO
|
|
--------
|
|
lightning-txprepare(7), lightning-txdiscard(7)
|
|
|
|
RESOURCES
|
|
---------
|
|
Main web site: https://github.com/ElementsProject/lightning
|