Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Namespaces | Typedefs | Functions | Variables
miner.h File Reference
#include <policy/policy.h>
#include <primitives/block.h>
#include <txmempool.h>
#include <memory>
#include <optional>
#include <stdint.h>
#include <boost/multi_index/identity.hpp>
#include <boost/multi_index/indexed_by.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/tag.hpp>
#include <boost/multi_index_container.hpp>
Include dependency graph for miner.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  node::CBlockTemplate
 
struct  node::CTxMemPoolModifiedEntry
 
struct  node::CompareCTxMemPoolIter
 Comparator for CTxMemPool::txiter objects. More...
 
struct  node::modifiedentry_iter
 
struct  node::CompareTxIterByAncestorCount
 
struct  node::update_for_parent_inclusion
 
class  node::BlockAssembler
 Generate a new block, without valid proof-of-work. More...
 
struct  node::BlockAssembler::Options
 

Namespaces

 Consensus
 Transaction validation functions.
 
 node
 

Typedefs

typedef boost::multi_index_container< CTxMemPoolModifiedEntry, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< modifiedentry_iter, CompareCTxMemPoolIter >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< ancestor_score >, boost::multi_index::identity< CTxMemPoolModifiedEntry >, CompareTxMemPoolEntryByAncestorFee > >> node::indexed_modified_transaction_set
 
typedef indexed_modified_transaction_set::nth_index< 0 >::type::iterator node::modtxiter
 
typedef indexed_modified_transaction_set::index< ancestor_score >::type::iterator node::modtxscoreiter
 

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...
 
void node::ApplyArgsManOptions (const ArgsManager &gArgs, BlockAssembler::Options &options)
 Apply -blockmintxfee and -blockmaxweight options from ArgsManager to BlockAssembler options. More...
 

Variables

static const bool node::DEFAULT_PRINTPRIORITY = false