Bitcoin Core  27.99.0
P2P Digital Currency
Namespaces | Functions | Variables
transaction.h File Reference
#include <policy/feerate.h>
#include <primitives/transaction.h>
#include <util/error.h>
Include dependency graph for transaction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Consensus
 Transaction validation functions.
 
 node
 

Functions

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...
 

Variables

static const CFeeRate node::DEFAULT_MAX_RAW_TX_FEE_RATE {COIN / 10}
 Maximum fee rate for sendrawtransaction and testmempoolaccept RPC calls. More...
 
static const CAmount node::DEFAULT_MAX_BURN_AMOUNT {0}
 Maximum burn value for sendrawtransaction, submitpackage, and testmempoolaccept RPC calls. More...