Bitcoin ABC  0.22.13
P2P Digital Currency
Functions
rawtransaction.cpp File Reference
#include <blockdb.h>
#include <chain.h>
#include <chainparams.h>
#include <coins.h>
#include <config.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <index/txindex.h>
#include <key_io.h>
#include <merkleblock.h>
#include <network.h>
#include <node/coin.h>
#include <node/context.h>
#include <node/psbt.h>
#include <node/transaction.h>
#include <policy/policy.h>
#include <primitives/transaction.h>
#include <psbt.h>
#include <random.h>
#include <rpc/blockchain.h>
#include <rpc/rawtransaction_util.h>
#include <rpc/server.h>
#include <rpc/util.h>
#include <script/script.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <script/standard.h>
#include <txmempool.h>
#include <uint256.h>
#include <util/error.h>
#include <util/moneystr.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <validation.h>
#include <validationinterface.h>
#include <cstdint>
#include <numeric>
#include <univalue.h>
Include dependency graph for rawtransaction.cpp:

Go to the source code of this file.

Functions

static void TxToJSON (const CTransaction &tx, const BlockHash &hashBlock, UniValue &entry)
 
static UniValue getrawtransaction (const Config &config, const JSONRPCRequest &request)
 
static UniValue gettxoutproof (const Config &config, const JSONRPCRequest &request)
 
static UniValue verifytxoutproof (const Config &config, const JSONRPCRequest &request)
 
static UniValue createrawtransaction (const Config &config, const JSONRPCRequest &request)
 
static UniValue decoderawtransaction (const Config &config, const JSONRPCRequest &request)
 
static std::string GetAllOutputTypes ()
 
static UniValue decodescript (const Config &config, const JSONRPCRequest &request)
 
static UniValue combinerawtransaction (const Config &config, const JSONRPCRequest &request)
 
static UniValue signrawtransactionwithkey (const Config &config, const JSONRPCRequest &request)
 
static UniValue sendrawtransaction (const Config &config, const JSONRPCRequest &request)
 
static UniValue testmempoolaccept (const Config &config, const JSONRPCRequest &request)
 
static std::string WriteHDKeypath (std::vector< uint32_t > &keypath)
 
static UniValue decodepsbt (const Config &config, const JSONRPCRequest &request)
 
static UniValue combinepsbt (const Config &config, const JSONRPCRequest &request)
 
static UniValue finalizepsbt (const Config &config, const JSONRPCRequest &request)
 
static UniValue createpsbt (const Config &config, const JSONRPCRequest &request)
 
static UniValue converttopsbt (const Config &config, const JSONRPCRequest &request)
 
UniValue utxoupdatepsbt (const Config &config, const JSONRPCRequest &request)
 
UniValue joinpsbts (const Config &config, const JSONRPCRequest &request)
 
UniValue analyzepsbt (const Config &config, const JSONRPCRequest &request)
 
void RegisterRawTransactionRPCCommands (CRPCTable &t)
 Register raw transaction RPC commands. More...
 

Function Documentation

◆ analyzepsbt()

UniValue analyzepsbt ( const Config config,
const JSONRPCRequest request 
)

Definition at line 2008 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ combinepsbt()

static UniValue combinepsbt ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 1502 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ combinerawtransaction()

static UniValue combinerawtransaction ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 719 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ converttopsbt()

static UniValue converttopsbt ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 1738 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createpsbt()

static UniValue createpsbt ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 1628 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createrawtransaction()

static UniValue createrawtransaction ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 448 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodepsbt()

static UniValue decodepsbt ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 1166 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decoderawtransaction()

static UniValue decoderawtransaction ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 556 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodescript()

static UniValue decodescript ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 660 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ finalizepsbt()

static UniValue finalizepsbt ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 1558 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetAllOutputTypes()

static std::string GetAllOutputTypes ( )
static

Definition at line 649 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getrawtransaction()

static UniValue getrawtransaction ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 74 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gettxoutproof()

static UniValue gettxoutproof ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 268 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ joinpsbts()

UniValue joinpsbts ( const Config config,
const JSONRPCRequest request 
)

Definition at line 1906 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterRawTransactionRPCCommands()

void RegisterRawTransactionRPCCommands ( CRPCTable t)

Register raw transaction RPC commands.

Definition at line 2151 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendrawtransaction()

static UniValue sendrawtransaction ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 956 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ signrawtransactionwithkey()

static UniValue signrawtransactionwithkey ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 819 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testmempoolaccept()

static UniValue testmempoolaccept ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 1026 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TxToJSON()

static void TxToJSON ( const CTransaction tx,
const BlockHash hashBlock,
UniValue entry 
)
static

Definition at line 47 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ utxoupdatepsbt()

UniValue utxoupdatepsbt ( const Config config,
const JSONRPCRequest request 
)

Definition at line 1804 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ verifytxoutproof()

static UniValue verifytxoutproof ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 393 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteHDKeypath()

static std::string WriteHDKeypath ( std::vector< uint32_t > &  keypath)
static

Definition at line 1148 of file rawtransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: