Bitcoin Core  27.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 <numeric>
#include <stdint.h>
#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< RPCResultScriptPubKeyDoc ()
 
static std::vector< RPCResultDecodeTxDoc (const std::string &txid_field_doc)
 
static std::vector< RPCArgCreateTxDoc ()
 
PartiallySignedTransaction ProcessPSBT (const std::string &psbt_string, const std::any &context, const HidingSigningProvider &provider, int sighash_type, bool finalize)
 
static RPCHelpMan getrawtransaction ()
 
static RPCHelpMan createrawtransaction ()
 
static RPCHelpMan decoderawtransaction ()
 
static RPCHelpMan decodescript ()
 
static RPCHelpMan combinerawtransaction ()
 
static RPCHelpMan signrawtransactionwithkey ()
 
static RPCHelpMan decodepsbt ()
 
static RPCHelpMan combinepsbt ()
 
static RPCHelpMan finalizepsbt ()
 
static RPCHelpMan createpsbt ()
 
static RPCHelpMan converttopsbt ()
 
static RPCHelpMan utxoupdatepsbt ()
 
static RPCHelpMan joinpsbts ()
 
static RPCHelpMan analyzepsbt ()
 
RPCHelpMan descriptorprocesspsbt ()
 
void RegisterRawTransactionRPCCommands (CRPCTable &t)
 

Variables

const RPCResult decodepsbt_inputs
 
const RPCResult decodepsbt_outputs
 

Function Documentation

◆ analyzepsbt()

static RPCHelpMan analyzepsbt ( )
static

Definition at line 1815 of file rawtransaction.cpp.

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

◆ combinepsbt()

static RPCHelpMan combinepsbt ( )
static

Definition at line 1457 of file rawtransaction.cpp.

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

◆ combinerawtransaction()

static RPCHelpMan combinerawtransaction ( )
static

Definition at line 631 of file rawtransaction.cpp.

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

◆ converttopsbt()

static RPCHelpMan converttopsbt ( )
static

Definition at line 1601 of file rawtransaction.cpp.

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

◆ createpsbt()

static RPCHelpMan createpsbt ( )
static

Definition at line 1561 of file rawtransaction.cpp.

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

◆ createrawtransaction()

static RPCHelpMan createrawtransaction ( )
static

Definition at line 426 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 137 of file rawtransaction.cpp.

Here is the caller graph for this function:

◆ decodepsbt()

static RPCHelpMan decodepsbt ( )
static

Definition at line 1016 of file rawtransaction.cpp.

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

◆ decoderawtransaction()

static RPCHelpMan decoderawtransaction ( )
static

Definition at line 457 of file rawtransaction.cpp.

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

◆ decodescript()

static RPCHelpMan decodescript ( )
static

Definition at line 498 of file rawtransaction.cpp.

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

◆ DecodeTxDoc()

static std::vector<RPCResult> DecodeTxDoc ( const std::string &  txid_field_doc)
static

Definition at line 96 of file rawtransaction.cpp.

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

◆ descriptorprocesspsbt()

RPCHelpMan descriptorprocesspsbt ( )

Definition at line 1924 of file rawtransaction.cpp.

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

◆ finalizepsbt()

static RPCHelpMan finalizepsbt ( )
static

Definition at line 1504 of file rawtransaction.cpp.

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

◆ getrawtransaction()

static RPCHelpMan getrawtransaction ( )
static

Definition at line 262 of file rawtransaction.cpp.

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

◆ joinpsbts()

static RPCHelpMan joinpsbts ( )
static

Definition at line 1714 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,
int  sighash_type,
bool  finalize 
)

Definition at line 177 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 2008 of file rawtransaction.cpp.

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

◆ ScriptPubKeyDoc()

static std::vector<RPCResult> ScriptPubKeyDoc ( )
static

Definition at line 85 of file rawtransaction.cpp.

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

◆ signrawtransactionwithkey()

static RPCHelpMan signrawtransactionwithkey ( )
static

Definition at line 717 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 56 of file rawtransaction.cpp.

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

◆ utxoupdatepsbt()

static RPCHelpMan utxoupdatepsbt ( )
static

Definition at line 1668 of file rawtransaction.cpp.

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

Variable Documentation

◆ decodepsbt_inputs

const RPCResult decodepsbt_inputs

Definition at line 822 of file rawtransaction.cpp.

◆ decodepsbt_outputs

const RPCResult decodepsbt_outputs

Definition at line 949 of file rawtransaction.cpp.