PIVX Core  5.6.99
P2P Digital Currency
Functions
rawtransaction.cpp File Reference
#include "core_io.h"
#include "evo/providertx.h"
#include "key_io.h"
#include "keystore.h"
#include "llmq/quorums_chainlocks.h"
#include "net.h"
#include "policy/policy.h"
#include "primitives/transaction.h"
#include "rpc/server.h"
#include "script/script.h"
#include "script/script_error.h"
#include "script/sign.h"
#include "script/standard.h"
#include "uint256.h"
#include "utilmoneystr.h"
#include "validationinterface.h"
#include <future>
#include <stdint.h>
#include <univalue.h>
Include dependency graph for rawtransaction.cpp:

Go to the source code of this file.

Functions

int ComputeNextBlockAndDepth (const CBlockIndex *tip, const CBlockIndex *blockindex, const CBlockIndex *&next)
 
void TxToJSON (CWallet *const pwallet, const CTransaction &tx, const CBlockIndex *tip, const CBlockIndex *blockindex, UniValue &entry)
 
std::string GetSaplingTxHelpInfo ()
 
UniValue getrawtransaction (const JSONRPCRequest &request)
 
UniValue createrawtransaction (const JSONRPCRequest &request)
 
UniValue decoderawtransaction (const JSONRPCRequest &request)
 
UniValue decodescript (const JSONRPCRequest &request)
 
UniValue signrawtransaction (const JSONRPCRequest &request)
 
void TryATMP (const CMutableTransaction &mtx, bool fOverrideFees)
 
void RelayTx (const uint256 &hashTx)
 
UniValue sendrawtransaction (const JSONRPCRequest &request)
 
void RegisterRawTransactionRPCCommands (CRPCTable &tableRPC)
 Register raw transaction RPC commands. More...
 

Function Documentation

◆ ComputeNextBlockAndDepth()

int ComputeNextBlockAndDepth ( const CBlockIndex tip,
const CBlockIndex blockindex,
const CBlockIndex *&  next 
)

Definition at line 106 of file blockchain.cpp.

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

◆ createrawtransaction()

UniValue createrawtransaction ( const JSONRPCRequest request)

Definition at line 284 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ decoderawtransaction()

UniValue decoderawtransaction ( const JSONRPCRequest request)

Definition at line 385 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ decodescript()

UniValue decodescript ( const JSONRPCRequest request)

Definition at line 454 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ getrawtransaction()

UniValue getrawtransaction ( const JSONRPCRequest request)

Definition at line 154 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ GetSaplingTxHelpInfo()

std::string GetSaplingTxHelpInfo ( )

Definition at line 125 of file rawtransaction.cpp.

Here is the caller graph for this function:

◆ RegisterRawTransactionRPCCommands()

void RegisterRawTransactionRPCCommands ( CRPCTable tableRPC)

Register raw transaction RPC commands.

Definition at line 912 of file rawtransaction.cpp.

◆ RelayTx()

void RelayTx ( const uint256 hashTx)

Definition at line 847 of file rawtransaction.cpp.

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

◆ sendrawtransaction()

UniValue sendrawtransaction ( const JSONRPCRequest request)

Definition at line 859 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ signrawtransaction()

UniValue signrawtransaction ( const JSONRPCRequest request)
Todo:
: check why do we have this for regtest..

Definition at line 509 of file rawtransaction.cpp.

Here is the call graph for this function:

◆ TryATMP()

void TryATMP ( const CMutableTransaction mtx,
bool  fOverrideFees 
)

Definition at line 801 of file rawtransaction.cpp.

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

◆ TxToJSON()

void TxToJSON ( CWallet *const  pwallet,
const CTransaction tx,
const CBlockIndex tip,
const CBlockIndex blockindex,
UniValue entry 
)

Definition at line 81 of file rawtransaction.cpp.

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