Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailedTransactionOrdering = errors.New("ErrFailedTransactionOrdering")
View Source
var ErrGetStateHash = errors.New("ErrGetStateHash failed in GetStateHash() so cannot retrieve pre-execution state diff merkleRoot from previous block")
View Source
var ErrMismatchedBlockHeight = errors.New("ErrMismatchedBlockHeight")
View Source
var ErrMismatchedBlockProposer = errors.New("ErrMismatchedBlockProposer")
View Source
var ErrMismatchedPreExecutionStateMerkleRoot = errors.New("ErrMismatchedPreExecutionStateMerkleRoot pre-execution state diff merkleRoot is different between results block header and extracted from state storage for previous block")
View Source
var ErrMismatchedPrevBlockHash = errors.New("ErrMismatchedPrevBlockHash")
View Source
var ErrMismatchedProtocolVersion = errors.New("ErrMismatchedProtocolVersion")
View Source
var ErrMismatchedTxHashPtrToActualTxBlock = errors.New("ErrMismatchedTxHashPtrToActualTxBlock mismatched tx block hash ptr to actual tx block hash")
View Source
var ErrMismatchedTxRxBlockHeight = errors.New("ErrMismatchedTxRxBlockHeight mismatched block height between transactions and results")
View Source
var ErrMismatchedTxRxBlockProposer = errors.New("ErrMismatchedTxRxBlockProposer")
View Source
var ErrMismatchedTxRxTimestamps = errors.New("ErrMismatchedTxRxTimestamps mismatched timestamp between transactions and results")
View Source
var ErrMismatchedVirtualChainID = errors.New("ErrMismatchedVirtualChainID")
View Source
var ErrProcessTransactionSet = errors.New("ErrProcessTransactionSet failed in ProcessTransactionSet()")
View Source
var ErrTriggerDisabledAndTriggerExists = errors.New("ErrTriggerDisabledAndTriggerExists Trigger Transaction exists when it is not suppose to be")
View Source
var ErrTriggerEnabledAndTriggerInvalid = errors.New("ErrTriggerEnabledAndTriggerInvalid Trigger Transaction has some invalid values")
View Source
var ErrTriggerEnabledAndTriggerInvalidTime = errors.New("ErrTriggerEnabledAndTriggerInvalidTime Trigger Transaction should have same time as block")
View Source
var ErrTriggerEnabledAndTriggerMissing = errors.New("ErrTriggerEnabledAndTriggerMissing Trigger Transaction missing from end of block transactions")
View Source
var ErrTriggerEnabledAndTriggerNotLast = errors.New("ErrTriggerEnabledAndTriggerNotLast A Trigger Transaction exists that is not the correct place (last)")
View Source
var LogTag = log.Service("consensus-context")
Functions ¶
func NewConsensusContext ¶
func NewConsensusContext( transactionPool services.TransactionPool, virtualMachine services.VirtualMachine, stateStorage services.StateStorage, config config.ConsensusContextConfig, logger log.Logger, metricFactory metric.Factory, ) services.ConsensusContext
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.