Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor executes chain events.
func NewExecutor ¶
func NewExecutor( chainID tableland.ChainID, db *sql.DB, parser parsing.SQLValidator, maxTableRowCount int, acl tableland.ACL, ) (*Executor, error)
NewExecutor returns a new Executor.
func (*Executor) Close ¶
Close closes the processor gracefully. It will wait for any pending batch to be closed, or until ctx is canceled.
func (*Executor) GetLastExecutedBlockNumber ¶
GetLastExecutedBlockNumber returns the last block number that was successfully executed.
func (*Executor) NewBlockScope ¶
func (ex *Executor) NewBlockScope(ctx context.Context, newBlockNum int64) (executor.BlockScope, error)
NewBlockScope starts a block scope to execute EVM transactions with events.
Click to show internal directories.
Click to hide internal directories.