Bitcoin Core 32.99.0
P2P Digital Currency
Classes | Namespaces | Functions
miner.h File Reference
#include <consensus/amount.h>
#include <node/mining_types.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <threadsafety.h>
#include <txmempool.h>
#include <util/feefrac.h>
#include <cstdint>
#include <memory>
#include <optional>
#include <vector>
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
 
class  node::BlockAssembler
 Generate a new block, without valid proof-of-work. More...
 

Namespaces

namespace  Consensus
 Transaction validation functions.
 
namespace  node
 

Functions

int64_t node::GetMinimumTime (const CBlockIndex *pindexPrev, int64_t difficulty_adjustment_interval)
 Get the minimum time a miner should use in the next block. More...
 
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::AddMerkleRootAndCoinbase (CBlock &block, CTransactionRef coinbase, uint32_t version, uint32_t timestamp, uint32_t nonce)