Versions in this module Expand all Collapse all v1 v1.0.1 Jun 12, 2023 Changes in this version + type BlockCtx struct + Atropos hash.Event + Idx idx.Block + Time inter.Timestamp + type BlockState struct + AdvanceEpochs idx.Epoch + DirtyRules metatechchain.Rules + EpochCheaters meta.Cheaters + EpochGas uint64 + FinalizedStateRoot hash.Hash + LastBlock BlockCtx + NextValidatorProfiles ValidatorProfiles + ValidatorStates []ValidatorBlockState + func (bs *BlockState) GetValidatorState(id idx.ValidatorID, validators *pos.Validators) *ValidatorBlockState + func (bs BlockState) Copy() BlockState + type ConfirmedEventsModule interface + Start func(bs BlockState, es EpochState) ConfirmedEventsProcessor + type ConfirmedEventsProcessor interface + Finalize func(block BlockCtx, blockSkipped bool) BlockState + ProcessConfirmedEvent func(inter.EventI) + type EVM interface + Start func(block BlockCtx, statedb *state.StateDB, reader evmcore.DummyChain, ...) EVMProcessor + type EVMProcessor interface + Execute func(txs types.Transactions, internal bool) types.Receipts + Finalize func() (evmBlock *evmcore.EvmBlock, skippedTxs []uint32, receipts types.Receipts) + type EpochState struct + Epoch idx.Epoch + EpochStart inter.Timestamp + EpochStateRoot hash.Hash + PrevEpochStart inter.Timestamp + Rules metatechchain.Rules + ValidatorProfiles ValidatorProfiles + ValidatorStates []ValidatorEpochState + Validators *pos.Validators + func (es *EpochState) GetValidatorState(id idx.ValidatorID, validators *pos.Validators) *ValidatorEpochState + func (es EpochState) Copy() EpochState + func (es EpochState) Duration() inter.Timestamp + func (es EpochState) Hash() hash.Hash + type SealerModule interface + Start func(block BlockCtx, bs BlockState, es EpochState) SealerProcessor + type SealerProcessor interface + EpochSealing func() bool + SealEpoch func() (BlockState, EpochState) + Update func(bs BlockState, es EpochState) + type TxListener interface + Finalize func() BlockState + OnNewLog func(*types.Log) + OnNewReceipt func(tx *types.Transaction, r *types.Receipt, originator idx.ValidatorID) + Update func(bs BlockState, es EpochState) + type TxListenerModule interface + Start func(block BlockCtx, bs BlockState, es EpochState, statedb *state.StateDB) TxListener + type TxTransactor interface + PopInternalTxs func(block BlockCtx, bs BlockState, es EpochState, sealing bool, ...) types.Transactions + type ValidatorBlockState struct + Cheater bool + DirtyGasRefund uint64 + LastBlock idx.Block + LastEvent hash.Event + LastGasPowerLeft inter.GasPowerLeft + LastOnlineTime inter.Timestamp + Originated *big.Int + Uptime inter.Timestamp + type ValidatorEpochState struct + GasRefund uint64 + PrevEpochEvent hash.Event + type ValidatorProfiles map[idx.ValidatorID]drivertype.Validator + func (vv *ValidatorProfiles) DecodeRLP(s *rlp.Stream) error + func (vv ValidatorProfiles) Copy() ValidatorProfiles + func (vv ValidatorProfiles) EncodeRLP(w io.Writer) error + func (vv ValidatorProfiles) SortedArray() []drivertype.ValidatorAndID