BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Functions
rawtransaction.cpp File Reference
#include <chain.h>
#include <coins.h>
#include <compat/byteswap.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <index/txindex.h>
#include <keystore.h>
#include <validation.h>
#include <validationinterface.h>
#include <key_io.h>
#include <merkleblock.h>
#include <net.h>
#include <policy/policy.h>
#include <policy/rbf.h>
#include <primitives/transaction.h>
#include <rpc/rawtransaction.h>
#include <rpc/server.h>
#include <script/script.h>
#include <script/script_error.h>
#include <script/sign.h>
#include <script/standard.h>
#include <txmempool.h>
#include <uint256.h>
#include <utilstrencodings.h>
#include <future>
#include <stdint.h>
#include <univalue.h>
Include dependency graph for rawtransaction.cpp:

Go to the source code of this file.

Functions

CMutableTransaction ConstructTransaction (const UniValue &inputs_in, const UniValue &outputs_in, const UniValue &locktime, const UniValue &rbf)
 Create a transaction from univalue parameters. More...
 
UniValue SignTransaction (CMutableTransaction &mtx, const UniValue &prevTxsUnival, CBasicKeyStore *keystore, bool is_temp_keystore, const UniValue &hashType)
 Sign a transaction with the given keystore and previous transactions. More...
 
UniValue signrawtransaction (const JSONRPCRequest &request)
 
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)
 
void RegisterRawTransactionRPCCommands (CRPCTable &t)
 Register raw transaction RPC commands. More...
 

Function Documentation

◆ combinepsbt()

UniValue combinepsbt ( const JSONRPCRequest request)

Definition at line 1451 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ ConstructTransaction()

CMutableTransaction ConstructTransaction ( const UniValue inputs_in,
const UniValue outputs_in,
const UniValue locktime,
const UniValue rbf 
)

Create a transaction from univalue parameters.

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

Here is the call graph for this function:

◆ createpsbt()

UniValue createpsbt ( const JSONRPCRequest request)

Definition at line 1567 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ decodepsbt()

UniValue decodepsbt ( const JSONRPCRequest request)

Definition at line 1176 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ finalizepsbt()

UniValue finalizepsbt ( const JSONRPCRequest request)

Definition at line 1504 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ RegisterRawTransactionRPCCommands()

void RegisterRawTransactionRPCCommands ( CRPCTable t)

Register raw transaction RPC commands.

Definition at line 1720 of file rawtransaction.cpp.

◆ signrawtransaction()

UniValue signrawtransaction ( const JSONRPCRequest request)

Definition at line 975 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ SignTransaction()

UniValue SignTransaction ( CMutableTransaction mtx,
const UniValue prevTxsUnival,
CBasicKeyStore keystore,
bool  is_temp_keystore,
const UniValue hashType 
)

Sign a transaction with the given keystore and previous transactions.

Definition at line 757 of file rawtransaction.cpp.

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