Documentation
¶
Index ¶
- type BlockTxnStatManager
- type EvmProcessor
- type ParallelEVM
- type ParallelEvmExecutor
- func (e *ParallelEvmExecutor) CopyStateDb(list []*txnCtx) []*pending_state.PendingStateWrapper
- func (e *ParallelEvmExecutor) Execute(block *types.Block)
- func (e *ParallelEvmExecutor) Prepare(block *types.Block)
- func (e *ParallelEvmExecutor) Receipts(block *types.Block) map[common.Hash]*types.Receipt
- type SerialEvmExecutor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockTxnStatManager ¶
type BlockTxnStatManager struct {
TxnCount int
TxnBatchCount int
TxnBatchRedoCount int
ConflictCount int
ExecuteDuration time.Duration
ExecuteTxnDuration time.Duration
PrepareDuration time.Duration
CommitDuration time.Duration
CopyDuration time.Duration
}
func (*BlockTxnStatManager) UpdateMetrics ¶
func (stat *BlockTxnStatManager) UpdateMetrics()
type EvmProcessor ¶
type ParallelEVM ¶
type ParallelEVM struct {
*tripod.Tripod
Solidity *evm.Solidity `tripod:"solidity"`
// contains filtered or unexported fields
}
func NewParallelEVM ¶
func NewParallelEVM() *ParallelEVM
type ParallelEvmExecutor ¶
type ParallelEvmExecutor struct {
// contains filtered or unexported fields
}
func NewParallelEvmExecutor ¶
func NewParallelEvmExecutor(evm *ParallelEVM) *ParallelEvmExecutor
func (*ParallelEvmExecutor) CopyStateDb ¶
func (e *ParallelEvmExecutor) CopyStateDb(list []*txnCtx) []*pending_state.PendingStateWrapper
func (*ParallelEvmExecutor) Execute ¶
func (e *ParallelEvmExecutor) Execute(block *types.Block)
func (*ParallelEvmExecutor) Prepare ¶
func (e *ParallelEvmExecutor) Prepare(block *types.Block)
type SerialEvmExecutor ¶
type SerialEvmExecutor struct {
// contains filtered or unexported fields
}
func NewSerialEvmExecutor ¶
func NewSerialEvmExecutor(evm *ParallelEVM) *SerialEvmExecutor
func (*SerialEvmExecutor) Execute ¶
func (s *SerialEvmExecutor) Execute(block *types.Block)
func (*SerialEvmExecutor) Prepare ¶
func (s *SerialEvmExecutor) Prepare(block *types.Block)
Click to show internal directories.
Click to hide internal directories.