Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrReverseUTXODiffsUTXODiffChildNotFound = errors.New("ErrReverseUTXODiffsUTXODiffChildNotFound")
ErrReverseUTXODiffsUTXODiffChildNotFound indicates a UTXO diff child was not found while calling ReverseUTXODiffs. It's still not known what causes this error, but we can ignore it and not reverse the UTXO diffs and harm performance in some cases. TODO: Investigate why this error happens in the first place, and remove the workaround.
Functions ¶
func New ¶
func New( databaseContext model.DBManager, maxBlockParents externalapi.KType, mergeSetSizeLimit uint64, genesisHash *externalapi.DomainHash, ghostdagManager model.GHOSTDAGManager, dagTopologyManager model.DAGTopologyManager, dagTraversalManager model.DAGTraversalManager, pastMedianTimeManager model.PastMedianTimeManager, transactionValidator model.TransactionValidator, coinbaseManager model.CoinbaseManager, mergeDepthManager model.MergeDepthManager, finalityManager model.FinalityManager, difficultyManager model.DifficultyManager, blockStatusStore model.BlockStatusStore, ghostdagDataStore model.GHOSTDAGDataStore, consensusStateStore model.ConsensusStateStore, multisetStore model.MultisetStore, blockStore model.BlockStore, utxoDiffStore model.UTXODiffStore, blockRelationStore model.BlockRelationStore, acceptanceDataStore model.AcceptanceDataStore, blockHeaderStore model.BlockHeaderStore, headersSelectedTipStore model.HeaderSelectedTipStore, pruningStore model.PruningStore, daaBlocksStore model.DAABlocksStore) (model.ConsensusStateManager, error)
New instantiates a new ConsensusStateManager
func NewTestConsensusStateManager ¶
func NewTestConsensusStateManager(baseConsensusStateManager model.ConsensusStateManager) testapi.TestConsensusStateManager
NewTestConsensusStateManager creates an instance of a TestConsensusStateManager
Types ¶
This section is empty.
Source Files ¶
- add_block_to_virtual.go
- calculate_past_utxo.go
- check_finality_violation.go
- consensus_state_manager.go
- find_selected_parent_chain_changes.go
- import_pruning_utxo_set.go
- log.go
- multisets.go
- pick_virtual_parents.go
- populate_tx_with_utxo_entries.go
- resolve.go
- resolve_block_status.go
- reverse_utxo_diffs.go
- test_consensus_state_manager.go
- update_virtual.go
- utxo_diffs.go
- verify_and_build_utxo.go
Click to show internal directories.
Click to hide internal directories.