Bitcoin Core
27.99.0
P2P Digital Currency
|
#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.
Classes | |
class | Secp256k1Init |
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 std::function< std::string(const char *)> | 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 555 of file bitcoin-tx.cpp.
|
static |
catch | ( | ... | ) |
Definition at line 882 of file bitcoin-tx.cpp.
catch | ( | const std::exception & | e | ) |
|
static |
|
static |
Definition at line 197 of file bitcoin-tx.cpp.
|
static |
if | ( | ret ! | = CONTINUE_EXECUTION | ) |
|
static |
Definition at line 708 of file bitcoin-tx.cpp.
|
static |
Definition at line 255 of file bitcoin-tx.cpp.
|
static |
Definition at line 289 of file bitcoin-tx.cpp.
|
static |
Definition at line 429 of file bitcoin-tx.cpp.
|
static |
Definition at line 356 of file bitcoin-tx.cpp.
|
static |
Definition at line 313 of file bitcoin-tx.cpp.
|
static |
Definition at line 459 of file bitcoin-tx.cpp.
|
static |
Definition at line 503 of file bitcoin-tx.cpp.
|
static |
Definition at line 515 of file bitcoin-tx.cpp.
|
static |
Definition at line 216 of file bitcoin-tx.cpp.
|
static |
Definition at line 225 of file bitcoin-tx.cpp.
|
static |
Definition at line 577 of file bitcoin-tx.cpp.
|
static |
Definition at line 206 of file bitcoin-tx.cpp.
|
static |
Definition at line 779 of file bitcoin-tx.cpp.
|
static |
Definition at line 765 of file bitcoin-tx.cpp.
|
static |
Definition at line 772 of file bitcoin-tx.cpp.
|
static |
Definition at line 756 of file bitcoin-tx.cpp.
|
static |
Definition at line 567 of file bitcoin-tx.cpp.
|
static |
Definition at line 789 of file bitcoin-tx.cpp.
|
static |
Definition at line 156 of file bitcoin-tx.cpp.
|
static |
Definition at line 141 of file bitcoin-tx.cpp.
|
static |
Definition at line 130 of file bitcoin-tx.cpp.
|
static |
Definition at line 43 of file bitcoin-tx.cpp.
|
static |
|
static |
Definition at line 39 of file bitcoin-tx.cpp.
|
static |
Definition at line 37 of file bitcoin-tx.cpp.
int flags |
Definition at line 530 of file bitcoin-tx.cpp.
const char* flagStr |
Definition at line 529 of file bitcoin-tx.cpp.
const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr |
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.
MAIN_FUNCTION |
Definition at line 870 of file bitcoin-tx.cpp.
|
static |
Definition at line 527 of file bitcoin-tx.cpp.
|
static |
Definition at line 38 of file bitcoin-tx.cpp.
return ret = EXIT_FAILURE |
Definition at line 887 of file bitcoin-tx.cpp.
const { ... } sighashOptions[N_SIGHASH_OPTS] |
try |
Definition at line 874 of file bitcoin-tx.cpp.