![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
#include <primitives/block.h>#include <txmempool.h>#include <validation.h>#include <memory>#include <optional>#include <stdint.h>#include <boost/multi_index_container.hpp>#include <boost/multi_index/ordered_index.hpp>Go to the source code of this file.
Classes | |
| struct | CBlockTemplate |
| struct | CTxMemPoolModifiedEntry |
| struct | CompareCTxMemPoolIter |
| Comparator for CTxMemPool::txiter objects. More... | |
| struct | modifiedentry_iter |
| struct | CompareTxIterByAncestorCount |
| struct | update_for_parent_inclusion |
| class | BlockAssembler |
| Generate a new block, without valid proof-of-work. More... | |
| struct | BlockAssembler::Options |
Namespaces | |
| namespace | Consensus |
| Transaction validation functions. | |
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 > > > | indexed_modified_transaction_set |
| typedef indexed_modified_transaction_set::nth_index< 0 >::type::iterator | modtxiter |
| typedef indexed_modified_transaction_set::index< ancestor_score >::type::iterator | modtxscoreiter |
Functions | |
| void | IncrementExtraNonce (CBlock *pblock, const CBlockIndex *pindexPrev, unsigned int &nExtraNonce) |
| Modify the extranonce in a block. More... | |
| int64_t | UpdateTime (CBlockHeader *pblock, const Consensus::Params &consensusParams, const CBlockIndex *pindexPrev) |
| void | RegenerateCommitments (CBlock &block, ChainstateManager &chainman) |
| Update an old GenerateCoinbaseCommitment from CreateNewBlock after the block txs have changed. More... | |
Variables | |
| static const bool | DEFAULT_PRINTPRIORITY = false |
| 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 > >> indexed_modified_transaction_set |
| typedef indexed_modified_transaction_set::nth_index<0>::type::iterator modtxiter |
| typedef indexed_modified_transaction_set::index<ancestor_score>::type::iterator modtxscoreiter |
| void IncrementExtraNonce | ( | CBlock * | pblock, |
| const CBlockIndex * | pindexPrev, | ||
| unsigned int & | nExtraNonce | ||
| ) |
| void RegenerateCommitments | ( | CBlock & | block, |
| ChainstateManager & | chainman | ||
| ) |
| int64_t UpdateTime | ( | CBlockHeader * | pblock, |
| const Consensus::Params & | consensusParams, | ||
| const CBlockIndex * | pindexPrev | ||
| ) |