Bitcoin Core 28.99.0
P2P Digital Currency
Namespaces | Functions
miner.cpp File Reference
#include <node/miner.h>
#include <chain.h>
#include <chainparams.h>
#include <coins.h>
#include <common/args.h>
#include <consensus/amount.h>
#include <consensus/consensus.h>
#include <consensus/merkle.h>
#include <consensus/tx_verify.h>
#include <consensus/validation.h>
#include <deploymentstatus.h>
#include <logging.h>
#include <policy/feerate.h>
#include <policy/policy.h>
#include <pow.h>
#include <primitives/transaction.h>
#include <util/moneystr.h>
#include <util/time.h>
#include <validation.h>
#include <algorithm>
#include <utility>
Include dependency graph for miner.cpp:

Go to the source code of this file.

Namespaces

namespace  node
 

Functions

int64_t node::UpdateTime (CBlockHeader *pblock, const Consensus::Params &consensusParams, const CBlockIndex *pindexPrev)
 
void node::RegenerateCommitments (CBlock &block, ChainstateManager &chainman)
 Update an old GenerateCoinbaseCommitment from CreateNewBlock after the block txs have changed. More...
 
static BlockAssembler::Options node::ClampOptions (BlockAssembler::Options options)
 
void node::ApplyArgsManOptions (const ArgsManager &gArgs, BlockAssembler::Options &options)
 Apply -blockmintxfee and -blockmaxweight options from ArgsManager to BlockAssembler options. More...
 
static int node::UpdatePackagesForAdded (const CTxMemPool &mempool, const CTxMemPool::setEntries &alreadyAdded, indexed_modified_transaction_set &mapModifiedTx) EXCLUSIVE_LOCKS_REQUIRED(mempool.cs)
 Add descendants of given transactions to mapModifiedTx with ancestor state updated assuming given transactions are inBlock. More...