![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <bitcoin-build-config.h>#include <chainparamsbase.h>#include <clientversion.h>#include <coins.h>#include <common/args.h>#include <common/system.h>#include <compat/compat.h>#include <consensus/amount.h>#include <consensus/consensus.h>#include <core_io.h>#include <key_io.h>#include <policy/policy.h>#include <primitives/transaction.h>#include <script/script.h>#include <script/sign.h>#include <script/signingprovider.h>#include <univalue.h>#include <util/exception.h>#include <util/fs.h>#include <util/moneystr.h>#include <util/rbf.h>#include <util/strencodings.h>#include <util/string.h>#include <util/translation.h>#include <cstdio>#include <functional>#include <memory>Go to the source code of this file.
Functions | |
| 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 CAmount | 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 | MutateTxRBFOptIn (CMutableTransaction &tx, const std::string &strInIdx) |
| template<typename T > | |
| static T | TrimAndParse (const std::string &int_str, const std::string &err) |
| static void | MutateTxAddInput (CMutableTransaction &tx, const std::string &strInput) |
| static void | MutateTxAddOutAddr (CMutableTransaction &tx, const std::string &strInput) |
| 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 (int &flags, const std::string &flagStr) |
| static CAmount | AmountFromValue (const UniValue &value) |
| static std::vector< unsigned char > | ParseHexUV (const UniValue &v, const std::string &strName) |
| static void | MutateTxSign (CMutableTransaction &tx, const std::string &flagStr) |
| static void | MutateTx (CMutableTransaction &tx, const std::string &command, const std::string &commandVal) |
| 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[]) |
| if (ret !=CONTINUE_EXECUTION) return ret | |
| catch (const std::exception &e) | |
| catch (...) | |
Variables | |
| static bool | fCreateBlank |
| static std::map< std::string, UniValue > | registers |
| static const int | CONTINUE_EXECUTION =-1 |
| const TranslateFn | G_TRANSLATION_FUN {nullptr} |
| Translate string to current locale using Qt. More... | |
| static const unsigned int | N_SIGHASH_OPTS = 7 |
| static const struct { ... } | sighashOptions [N_SIGHASH_OPTS] |
| MAIN_FUNCTION | |
| try | |
| int | ret = EXIT_FAILURE |
Definition at line 554 of file bitcoin-tx.cpp.
|
static |
| catch | ( | ... | ) |
Definition at line 870 of file bitcoin-tx.cpp.
| catch | ( | const std::exception & | e | ) |
|
static |
|
static |
Definition at line 203 of file bitcoin-tx.cpp.
|
static |
| if | ( | ret ! | = CONTINUE_EXECUTION | ) |
|
static |
Definition at line 696 of file bitcoin-tx.cpp.
|
static |
Definition at line 259 of file bitcoin-tx.cpp.
|
static |
Definition at line 294 of file bitcoin-tx.cpp.
|
static |
Definition at line 434 of file bitcoin-tx.cpp.
|
static |
Definition at line 361 of file bitcoin-tx.cpp.
|
static |
Definition at line 318 of file bitcoin-tx.cpp.
|
static |
Definition at line 464 of file bitcoin-tx.cpp.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 576 of file bitcoin-tx.cpp.
|
static |
|
static |
Definition at line 767 of file bitcoin-tx.cpp.
|
static |
Definition at line 753 of file bitcoin-tx.cpp.
|
static |
Definition at line 760 of file bitcoin-tx.cpp.
|
static |
Definition at line 744 of file bitcoin-tx.cpp.
|
static |
Definition at line 566 of file bitcoin-tx.cpp.
|
static |
Definition at line 777 of file bitcoin-tx.cpp.
|
static |
Definition at line 162 of file bitcoin-tx.cpp.
|
static |
Definition at line 147 of file bitcoin-tx.cpp.
|
static |
Definition at line 136 of file bitcoin-tx.cpp.
|
static |
Definition at line 46 of file bitcoin-tx.cpp.
|
static |
|
static |
Definition at line 42 of file bitcoin-tx.cpp.
|
static |
Definition at line 40 of file bitcoin-tx.cpp.
| int flags |
Definition at line 529 of file bitcoin-tx.cpp.
| const char* flagStr |
Definition at line 528 of file bitcoin-tx.cpp.
| const TranslateFn G_TRANSLATION_FUN {nullptr} |
Translate string to current locale using Qt.
Definition at line 44 of file bitcoin-tx.cpp.
| MAIN_FUNCTION |
Definition at line 858 of file bitcoin-tx.cpp.
|
static |
Definition at line 526 of file bitcoin-tx.cpp.
|
static |
Definition at line 41 of file bitcoin-tx.cpp.
| return ret = EXIT_FAILURE |
Definition at line 875 of file bitcoin-tx.cpp.
| const struct { ... } sighashOptions[N_SIGHASH_OPTS] |
| try |
Definition at line 862 of file bitcoin-tx.cpp.