Bitcoin Core  0.20.99
P2P Digital Currency
Functions
rawtransaction.cpp File Reference
#include <chain.h>
#include <coins.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <index/txindex.h>
#include <key_io.h>
#include <merkleblock.h>
#include <node/coin.h>
#include <node/context.h>
#include <node/psbt.h>
#include <node/transaction.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/util.h>
#include <script/script.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <script/standard.h>
#include <uint256.h>
#include <util/moneystr.h>
#include <util/strencodings.h>
#include <util/string.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)
 
static UniValue getrawtransaction (const JSONRPCRequest &request)
 
static UniValue gettxoutproof (const JSONRPCRequest &request)
 
static UniValue verifytxoutproof (const JSONRPCRequest &request)
 
static UniValue createrawtransaction (const JSONRPCRequest &request)
 
static UniValue decoderawtransaction (const JSONRPCRequest &request)
 
static std::string GetAllOutputTypes ()
 
static UniValue decodescript (const JSONRPCRequest &request)
 
static UniValue combinerawtransaction (const JSONRPCRequest &request)
 
static UniValue signrawtransactionwithkey (const JSONRPCRequest &request)
 
static UniValue sendrawtransaction (const JSONRPCRequest &request)
 
static UniValue testmempoolaccept (const JSONRPCRequest &request)
 
static std::string WriteHDKeypath (std::vector< uint32_t > &keypath)
 
UniValue decodepsbt (const JSONRPCRequest &request)
 
UniValue combinepsbt (const JSONRPCRequest &request)
 
UniValue finalizepsbt (const JSONRPCRequest &request)
 
UniValue createpsbt (const JSONRPCRequest &request)
 
UniValue converttopsbt (const JSONRPCRequest &request)
 
UniValue utxoupdatepsbt (const JSONRPCRequest &request)
 
UniValue joinpsbts (const JSONRPCRequest &request)
 
UniValue analyzepsbt (const JSONRPCRequest &request)
 
void RegisterRawTransactionRPCCommands (CRPCTable &t)
 Register raw transaction RPC commands. More...
 

Function Documentation

◆ analyzepsbt()

UniValue analyzepsbt ( const JSONRPCRequest request)

Definition at line 1701 of file rawtransaction.cpp.

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

◆ combinepsbt()

UniValue combinepsbt ( const JSONRPCRequest request)

Definition at line 1270 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 JSONRPCRequest request)
static

Definition at line 613 of file rawtransaction.cpp.

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

◆ converttopsbt()

UniValue converttopsbt ( const JSONRPCRequest request)

Definition at line 1453 of file rawtransaction.cpp.

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

◆ createpsbt()

UniValue createpsbt ( const JSONRPCRequest request)

Definition at line 1375 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 JSONRPCRequest request)
static

Definition at line 357 of file rawtransaction.cpp.

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

◆ decodepsbt()

UniValue decodepsbt ( const JSONRPCRequest request)

Definition at line 960 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 JSONRPCRequest request)
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:

◆ decodescript()

static UniValue decodescript ( const JSONRPCRequest request)
static

Definition at line 522 of file rawtransaction.cpp.

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

◆ finalizepsbt()

UniValue finalizepsbt ( const JSONRPCRequest request)

Definition at line 1318 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 512 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 JSONRPCRequest request)
static

Definition at line 69 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 JSONRPCRequest request)
static

Definition at line 219 of file rawtransaction.cpp.

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

◆ joinpsbts()

UniValue joinpsbts ( const JSONRPCRequest request)

Definition at line 1608 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 1809 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 JSONRPCRequest request)
static

Definition at line 792 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 JSONRPCRequest request)
static

Definition at line 696 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 JSONRPCRequest request)
static

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

Definition at line 43 of file rawtransaction.cpp.

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

◆ utxoupdatepsbt()

UniValue utxoupdatepsbt ( const JSONRPCRequest request)

Definition at line 1520 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 JSONRPCRequest request)
static

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

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