Bitcoin Core  24.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.


 Transaction validation 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, const Consensus::Params &consensusParams, uint256 &hashBlock)
 Return transaction with a given hash. More...


static const CFeeRate node::DEFAULT_MAX_RAW_TX_FEE_RATE {COIN / 10}
 Maximum fee rate for sendrawtransaction and testmempoolaccept RPC calls. More...