#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.
|
| 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 (...) |
| |
◆ AmountFromValue()
◆ AppInitRawTx()
◆ catch() [1/2]
◆ catch() [2/2]
| catch |
( |
const std::exception & | e | ) |
|
◆ CommandLineRawTx()
◆ ExtractAndValidateValue()
| static CAmount ExtractAndValidateValue |
( |
const std::string & | strValue | ) |
|
|
static |
◆ findSighashFlags()
| static bool findSighashFlags |
( |
int & | flags, |
|
|
const std::string & | flagStr ) |
|
static |
◆ if()
◆ MutateTx()
◆ MutateTxAddInput()
◆ MutateTxAddOutAddr()
◆ MutateTxAddOutData()
◆ MutateTxAddOutMultiSig()
◆ MutateTxAddOutPubKey()
◆ MutateTxAddOutScript()
◆ MutateTxDelInput()
◆ MutateTxDelOutput()
◆ MutateTxLocktime()
◆ MutateTxRBFOptIn()
◆ MutateTxSign()
◆ MutateTxVersion()
◆ OutputTx()
◆ OutputTxHash()
◆ OutputTxHex()
◆ OutputTxJSON()
◆ ParseHexUV()
◆ 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()
◆ TrimAndParse()
| static T TrimAndParse |
( |
const std::string & | int_str, |
|
|
const std::string & | err ) |
|
static |
◆ CONTINUE_EXECUTION
| const int CONTINUE_EXECUTION =-1 |
|
static |
◆ fCreateBlank
◆ flags
◆ flagStr
◆ G_TRANSLATION_FUN
Translate string to current locale using Qt.
Definition at line 44 of file bitcoin-tx.cpp.
◆ MAIN_FUNCTION
◆ N_SIGHASH_OPTS
◆ registers
◆ ret
◆ []
Initial value:= {
}
@ SIGHASH_DEFAULT
Taproot only; implied when sighash byte is missing, and equivalent to SIGHASH_ALL.
◆ try
Initial value:{
static int AppInitRawTx(int argc, char *argv[])
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
Definition at line 862 of file bitcoin-tx.cpp.