Bitcoin Core 31.99.0
P2P Digital Currency
Functions | Variables
rawtransaction.cpp File Reference
#include <base58.h>
#include <chain.h>
#include <coins.h>
#include <consensus/amount.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <index/txindex.h>
#include <key_io.h>
#include <node/blockstorage.h>
#include <node/coin.h>
#include <node/context.h>
#include <node/psbt.h>
#include <node/transaction.h>
#include <node/types.h>
#include <policy/packages.h>
#include <policy/policy.h>
#include <policy/rbf.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/server_util.h>
#include <rpc/util.h>
#include <script/script.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <script/solver.h>
#include <uint256.h>
#include <undo.h>
#include <util/bip32.h>
#include <util/check.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/vector.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 uint256 hashBlock, UniValue &entry, Chainstate &active_chainstate, const CTxUndo *txundo=nullptr, TxVerbosity verbosity=TxVerbosity::SHOW_DETAILS)
 
static std::vector< RPCArgCreateTxDoc ()
 
PartiallySignedTransaction ProcessPSBT (const std::string &psbt_string, const std::any &context, const HidingSigningProvider &provider, std::optional< int > sighash_type, bool finalize)
 
static RPCMethod getrawtransaction ()
 
static RPCMethod createrawtransaction ()
 
static RPCMethod decoderawtransaction ()
 
static RPCMethod decodescript ()
 
static RPCMethod combinerawtransaction ()
 
static RPCMethod signrawtransactionwithkey ()
 
const RPCResultDecodePSBTInputs ()
 
const RPCResultDecodePSBTOutputs ()
 
static RPCMethod decodepsbt ()
 
static RPCMethod combinepsbt ()
 
static RPCMethod finalizepsbt ()
 
static RPCMethod createpsbt ()
 
static RPCMethod converttopsbt ()
 
static RPCMethod utxoupdatepsbt ()
 
static RPCMethod joinpsbts ()
 
static RPCMethod analyzepsbt ()
 
RPCMethod descriptorprocesspsbt ()
 
void RegisterRawTransactionRPCCommands (CRPCTable &t)
 

Variables

static constexpr decltype(CTransaction::versionDEFAULT_RAWTX_VERSION {CTransaction::CURRENT_VERSION}
 

Function Documentation

◆ analyzepsbt()

static RPCMethod analyzepsbt ( )
static

Definition at line 1946 of file rawtransaction.cpp.

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

◆ combinepsbt()

static RPCMethod combinepsbt ( )
static

Definition at line 1576 of file rawtransaction.cpp.

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

◆ combinerawtransaction()

static RPCMethod combinerawtransaction ( )
static

Definition at line 583 of file rawtransaction.cpp.

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

◆ converttopsbt()

static RPCMethod converttopsbt ( )
static

Definition at line 1727 of file rawtransaction.cpp.

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

◆ createpsbt()

static RPCMethod createpsbt ( )
static

Definition at line 1680 of file rawtransaction.cpp.

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

◆ createrawtransaction()

static RPCMethod createrawtransaction ( )
static

Definition at line 375 of file rawtransaction.cpp.

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

◆ CreateTxDoc()

static std::vector< RPCArg > CreateTxDoc ( )
static

Definition at line 87 of file rawtransaction.cpp.

Here is the caller graph for this function:

◆ decodepsbt()

static RPCMethod decodepsbt ( )
static

Definition at line 1027 of file rawtransaction.cpp.

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

◆ DecodePSBTInputs()

const RPCResult & DecodePSBTInputs ( )

Definition at line 775 of file rawtransaction.cpp.

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

◆ DecodePSBTOutputs()

const RPCResult & DecodePSBTOutputs ( )

Definition at line 941 of file rawtransaction.cpp.

Here is the caller graph for this function:

◆ decoderawtransaction()

static RPCMethod decoderawtransaction ( )
static

Definition at line 407 of file rawtransaction.cpp.

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

◆ decodescript()

static RPCMethod decodescript ( )
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:

◆ descriptorprocesspsbt()

RPCMethod descriptorprocesspsbt ( )

Definition at line 2056 of file rawtransaction.cpp.

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

◆ finalizepsbt()

static RPCMethod finalizepsbt ( )
static

Definition at line 1623 of file rawtransaction.cpp.

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

◆ getrawtransaction()

static RPCMethod getrawtransaction ( )
static

Definition at line 214 of file rawtransaction.cpp.

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

◆ joinpsbts()

static RPCMethod joinpsbts ( )
static

Definition at line 1843 of file rawtransaction.cpp.

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

◆ ProcessPSBT()

PartiallySignedTransaction ProcessPSBT ( const std::string &  psbt_string,
const std::any &  context,
const HidingSigningProvider provider,
std::optional< int >  sighash_type,
bool  finalize 
)

Definition at line 128 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)

Definition at line 2141 of file rawtransaction.cpp.

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

◆ signrawtransactionwithkey()

static RPCMethod signrawtransactionwithkey ( )
static

Definition at line 669 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 uint256  hashBlock,
UniValue entry,
Chainstate active_chainstate,
const CTxUndo txundo = nullptr,
TxVerbosity  verbosity = TxVerbosity::SHOW_DETAILS 
)
static

Definition at line 58 of file rawtransaction.cpp.

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

◆ utxoupdatepsbt()

static RPCMethod utxoupdatepsbt ( )
static

Definition at line 1796 of file rawtransaction.cpp.

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

Variable Documentation

◆ DEFAULT_RAWTX_VERSION

constexpr decltype(CTransaction::version) DEFAULT_RAWTX_VERSION {CTransaction::CURRENT_VERSION}
staticconstexpr

Definition at line 56 of file rawtransaction.cpp.