dev

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutorDev

type ExecutorDev struct {
	// contains filtered or unexported fields
}

func New

func New(logger logrus.FieldLogger) (*ExecutorDev, error)

New creates executor instance

func (*ExecutorDev) ApplyReadonlyTransactions

func (exec *ExecutorDev) ApplyReadonlyTransactions(txs []*types.Transaction) []*types.Receipt

func (*ExecutorDev) AsyncExecuteBlock

func (exec *ExecutorDev) AsyncExecuteBlock(commitEvent *common.CommitEvent)

func (*ExecutorDev) ExecuteBlock

func (exec *ExecutorDev) ExecuteBlock(block *common.CommitEvent)

func (*ExecutorDev) GetChainConfig

func (exec *ExecutorDev) GetChainConfig() *params.ChainConfig

func (*ExecutorDev) NewEvmWithViewLedger

func (exec *ExecutorDev) NewEvmWithViewLedger(txCtx vm.TxContext, vmConfig vm.Config) (*vm.EVM, error)

func (*ExecutorDev) Start

func (exec *ExecutorDev) Start() error

func (*ExecutorDev) Stop

func (exec *ExecutorDev) Stop() error

func (*ExecutorDev) SubscribeBlockEvent

func (exec *ExecutorDev) SubscribeBlockEvent(ch chan<- events.ExecutedEvent) event.Subscription

func (*ExecutorDev) SubscribeBlockEventForRemote

func (exec *ExecutorDev) SubscribeBlockEventForRemote(ch chan<- events.ExecutedEvent) event.Subscription

func (*ExecutorDev) SubscribeLogsEvent

func (exec *ExecutorDev) SubscribeLogsEvent(c chan<- []*types.EvmLog) event.Subscription

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL