#include <chainparams.h>
#include <clientversion.h>
#include <coins.h>
#include <common/args.h>
#include <common/system.h>
#include <consensus/amount.h>
#include <consensus/consensus.h>
#include <core_io.h>
#include <currencyunit.h>
#include <key_io.h>
#include <primitives/transaction.h>
#include <rpc/util.h>
#include <script/script.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <util/exception.h>
#include <util/fs.h>
#include <util/moneystr.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/translation.h>
#include <univalue.h>
#include <cstdio>
#include <functional>
#include <memory>
Go to the source code of this file.
|
static void | SetupBitcoinTxArgs (ArgsManager &argsman) |
|
static int | AppInitRawTx (int argc, char *argv[]) |
|
static void | RegisterSetJson (const std::string &key, const std::string &rawJson) |
|
static void | RegisterSet (const std::string &strInput) |
|
static void | RegisterLoad (const std::string &strInput) |
|
static Amount | ExtractAndValidateValue (const std::string &strValue) |
|
static void | MutateTxVersion (CMutableTransaction &tx, const std::string &cmdVal) |
|
static void | MutateTxLocktime (CMutableTransaction &tx, const std::string &cmdVal) |
|
static void | MutateTxAddInput (CMutableTransaction &tx, const std::string &strInput) |
|
static void | MutateTxAddOutAddr (CMutableTransaction &tx, const std::string &strInput, const CChainParams &chainParams) |
|
static void | MutateTxAddOutPubKey (CMutableTransaction &tx, const std::string &strInput) |
|
static void | MutateTxAddOutMultiSig (CMutableTransaction &tx, const std::string &strInput) |
|
static void | MutateTxAddOutData (CMutableTransaction &tx, const std::string &strInput) |
|
static void | MutateTxAddOutScript (CMutableTransaction &tx, const std::string &strInput) |
|
static void | MutateTxDelInput (CMutableTransaction &tx, const std::string &strInIdx) |
|
static void | MutateTxDelOutput (CMutableTransaction &tx, const std::string &strOutIdx) |
|
static bool | findSigHashFlags (SigHashType &sigHashType, const std::string &flagStr) |
|
static void | MutateTxSign (CMutableTransaction &tx, const std::string &flagStr) |
|
static void | MutateTx (CMutableTransaction &tx, const std::string &command, const std::string &commandVal, const CChainParams &chainParams) |
|
static void | OutputTxJSON (const CTransaction &tx) |
|
static void | OutputTxHash (const CTransaction &tx) |
|
static void | OutputTxHex (const CTransaction &tx) |
|
static void | OutputTx (const CTransaction &tx) |
|
static std::string | readStdin () |
|
static int | CommandLineRawTx (int argc, char *argv[], const CChainParams &chainParams) |
|
int | main (int argc, char *argv[]) |
|
◆ AppInitRawTx()
◆ CommandLineRawTx()
◆ ExtractAndValidateValue()
static Amount ExtractAndValidateValue |
( |
const std::string & |
strValue | ) |
|
|
static |
◆ findSigHashFlags()
◆ main()
◆ MutateTx()
◆ MutateTxAddInput()
◆ MutateTxAddOutAddr()
◆ MutateTxAddOutData()
◆ MutateTxAddOutMultiSig()
◆ MutateTxAddOutPubKey()
◆ MutateTxAddOutScript()
◆ MutateTxDelInput()
◆ MutateTxDelOutput()
◆ MutateTxLocktime()
◆ MutateTxSign()
◆ MutateTxVersion()
◆ OutputTx()
◆ OutputTxHash()
◆ OutputTxHex()
◆ OutputTxJSON()
◆ readStdin()
static std::string readStdin |
( |
| ) |
|
|
static |
◆ RegisterLoad()
static void RegisterLoad |
( |
const std::string & |
strInput | ) |
|
|
static |
◆ RegisterSet()
static void RegisterSet |
( |
const std::string & |
strInput | ) |
|
|
static |
◆ RegisterSetJson()
static void RegisterSetJson |
( |
const std::string & |
key, |
|
|
const std::string & |
rawJson |
|
) |
| |
|
static |
◆ SetupBitcoinTxArgs()
◆ CONTINUE_EXECUTION
const int CONTINUE_EXECUTION = -1 |
|
static |
◆ fCreateBlank
◆ flags
◆ flagStr
◆ G_TRANSLATION_FUN
Translate string to current locale using Qt.
Translate a message to the native language of the user.
Definition at line 41 of file bitcoin-tx.cpp.
◆ N_SIGHASH_OPTS
◆ registers
◆ []
Initial value:= {
{"ALL|FORKID|ANYONECANPAY",
{"NONE|FORKID|ANYONECANPAY",
{"SINGLE|FORKID|ANYONECANPAY",
}