Bitcoin Core 28.99.0
P2P Digital Currency
Namespaces | Functions
transaction.cpp File Reference
#include <consensus/validation.h>
#include <index/txindex.h>
#include <net.h>
#include <net_processing.h>
#include <node/blockstorage.h>
#include <node/context.h>
#include <node/types.h>
#include <txmempool.h>
#include <validation.h>
#include <validationinterface.h>
#include <node/transaction.h>
#include <future>
Include dependency graph for transaction.cpp:

Go to the source code of this file.

Namespaces

namespace  node
 

Functions

static TransactionError node::HandleATMPError (const TxValidationState &state, std::string &err_string_out)
 
TransactionError node::BroadcastTransaction (NodeContext &node, CTransactionRef tx, std::string &err_string, const CAmount &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 uint256 &hash, uint256 &hashBlock, const BlockManager &blockman)
 Return transaction with a given hash. More...