Bitcoin Core 28.99.0
P2P Digital Currency
Namespaces | Functions | Variables
transaction.h File Reference
#include <common/messages.h>
#include <policy/feerate.h>
#include <primitives/transaction.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

namespace  Consensus
 Transaction validation functions.
 
namespace  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...