You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
3.2 KiB
129 lines
3.2 KiB
7 years ago
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
|
||
7 years ago
|
.TH LITECOIN-TX "1" "September 2017" "litecoin-tx v0.15.0.1" "User Commands"
|
||
8 years ago
|
.SH NAME
|
||
7 years ago
|
litecoin-tx \- manual page for litecoin-tx v0.15.0.1
|
||
8 years ago
|
.SH DESCRIPTION
|
||
7 years ago
|
Litecoin Core litecoin\-tx utility version v0.15.0.1\-dirty
|
||
8 years ago
|
.SS "Usage:"
|
||
|
.TP
|
||
7 years ago
|
litecoin\-tx [options] <hex\-tx> [commands]
|
||
|
Update hex\-encoded litecoin transaction
|
||
8 years ago
|
.TP
|
||
7 years ago
|
litecoin\-tx [options] \fB\-create\fR [commands]
|
||
|
Create hex\-encoded litecoin transaction
|
||
8 years ago
|
.SH OPTIONS
|
||
|
.HP
|
||
|
\-?
|
||
|
.IP
|
||
|
This help message
|
||
|
.HP
|
||
|
\fB\-create\fR
|
||
|
.IP
|
||
|
Create new, empty TX.
|
||
|
.HP
|
||
|
\fB\-json\fR
|
||
|
.IP
|
||
|
Select JSON output
|
||
|
.HP
|
||
|
\fB\-txid\fR
|
||
|
.IP
|
||
|
Output only the hex\-encoded transaction id of the resultant transaction.
|
||
|
.PP
|
||
|
Chain selection options:
|
||
|
.HP
|
||
|
\fB\-testnet\fR
|
||
|
.IP
|
||
|
Use the test chain
|
||
|
.HP
|
||
|
\fB\-regtest\fR
|
||
|
.IP
|
||
|
Enter regression test mode, which uses a special chain in which blocks
|
||
|
can be solved instantly. This is intended for regression testing
|
||
|
tools and app development.
|
||
|
.PP
|
||
|
Commands:
|
||
|
.IP
|
||
|
delin=N
|
||
|
.IP
|
||
|
Delete input N from TX
|
||
|
.IP
|
||
|
delout=N
|
||
|
.IP
|
||
|
Delete output N from TX
|
||
|
.IP
|
||
|
in=TXID:VOUT(:SEQUENCE_NUMBER)
|
||
|
.IP
|
||
|
Add input to TX
|
||
|
.IP
|
||
|
locktime=N
|
||
|
.IP
|
||
|
Set TX lock time to N
|
||
|
.IP
|
||
|
nversion=N
|
||
|
.IP
|
||
|
Set TX version to N
|
||
|
.IP
|
||
7 years ago
|
replaceable(=N)
|
||
|
.IP
|
||
|
Set RBF opt\-in sequence number for input N (if not provided, opt\-in all
|
||
|
available inputs)
|
||
|
.IP
|
||
8 years ago
|
outaddr=VALUE:ADDRESS
|
||
|
.IP
|
||
|
Add address\-based output to TX
|
||
|
.IP
|
||
8 years ago
|
outpubkey=VALUE:PUBKEY[:FLAGS]
|
||
|
.IP
|
||
|
Add pay\-to\-pubkey output to TX. Optionally add the "W" flag to produce a
|
||
|
pay\-to\-witness\-pubkey\-hash output. Optionally add the "S" flag to
|
||
|
wrap the output in a pay\-to\-script\-hash.
|
||
|
.IP
|
||
8 years ago
|
outdata=[VALUE:]DATA
|
||
|
.IP
|
||
|
Add data\-based output to TX
|
||
|
.IP
|
||
8 years ago
|
outscript=VALUE:SCRIPT[:FLAGS]
|
||
|
.IP
|
||
|
Add raw script output to TX. Optionally add the "W" flag to produce a
|
||
|
pay\-to\-witness\-script\-hash output. Optionally add the "S" flag to
|
||
|
wrap the output in a pay\-to\-script\-hash.
|
||
|
.IP
|
||
|
outmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS]
|
||
8 years ago
|
.IP
|
||
8 years ago
|
Add Pay To n\-of\-m Multi\-sig output to TX. n = REQUIRED, m = PUBKEYS.
|
||
|
Optionally add the "W" flag to produce a
|
||
|
pay\-to\-witness\-script\-hash output. Optionally add the "S" flag to
|
||
|
wrap the output in a pay\-to\-script\-hash.
|
||
8 years ago
|
.IP
|
||
|
sign=SIGHASH\-FLAGS
|
||
|
.IP
|
||
|
Add zero or more signatures to transaction. This command requires JSON
|
||
|
registers:prevtxs=JSON object, privatekeys=JSON object. See
|
||
|
signrawtransaction docs for format of sighash flags, JSON
|
||
|
objects.
|
||
|
.PP
|
||
|
Register Commands:
|
||
|
.IP
|
||
|
load=NAME:FILENAME
|
||
|
.IP
|
||
|
Load JSON file FILENAME into register NAME
|
||
|
.IP
|
||
|
set=NAME:JSON\-STRING
|
||
|
.IP
|
||
|
Set register NAME to given JSON\-STRING
|
||
|
.SH COPYRIGHT
|
||
8 years ago
|
Copyright (C) 2009-2017 The Bitcoin Core developers
|
||
7 years ago
|
Copyright (C) 2011-2017 The Litecoin Core developers
|
||
8 years ago
|
|
||
7 years ago
|
Please contribute if you find Litecoin Core useful. Visit
|
||
|
<https://litecoin.org> for further information about the software.
|
||
|
The source code is available from <https://github.com/litecoin-project/litecoin>.
|
||
8 years ago
|
|
||
|
This is experimental software.
|
||
|
Distributed under the MIT software license, see the accompanying file COPYING
|
||
8 years ago
|
or <https://opensource.org/licenses/MIT>
|
||
8 years ago
|
|
||
|
This product includes software developed by the OpenSSL Project for use in the
|
||
8 years ago
|
OpenSSL Toolkit <https://www.openssl.org> and cryptographic software written by
|
||
|
Eric Young and UPnP software written by Thomas Bernard.
|