Bitcoin ABC  0.28.12
P2P Digital Currency
Namespaces | Functions
transaction.cpp File Reference
#include <node/transaction.h>
#include <config.h>
#include <consensus/validation.h>
#include <index/txindex.h>
#include <net.h>
#include <net_processing.h>
#include <node/blockstorage.h>
#include <node/context.h>
#include <primitives/blockhash.h>
#include <primitives/txid.h>
#include <txmempool.h>
#include <validation.h>
#include <validationinterface.h>
#include <future>
Include dependency graph for transaction.cpp:

Go to the source code of this file.

Namespaces

 node
 

Functions

static TransactionError node::HandleATMPError (const TxValidationState &state, std::string &err_string_out)
 
TransactionError node::BroadcastTransaction (const NodeContext &node, CTransactionRef tx, std::string &err_string, Amount max_tx_fee, bool relay, bool wait_callback)
 Submit a transaction to the mempool and (optionally) relay it to all P2P peers. More...
 
CTransactionRef node::GetTransaction (const CBlockIndex *const block_index, const CTxMemPool *const mempool, const TxId &txid, const Consensus::Params &consensusParams, BlockHash &hashBlock)
 Return transaction with a given txid. More...