func NewBatchChecker(backend ExecutorState, blockchain *bcm.Blockchain, logger *logging.Logger,
	options ...ExecutionOption) BatchExecutor {

	exe := newExecutor("CheckCache", false, backend, blockchain, event.NewNoOpPublisher(),
		logger.WithScope("NewBatchExecutor"), options...)

	return exe.AddContext(payload.TypeGovernance,
		&contexts.GovernanceContext{
			ValidatorSet: exe.blockchain.ValidatorChecker(),
			StateWriter:  exe.stateCache,
			Logger:       exe.logger,
		},
	)
}
// Wraps a cache of what is variously known as the 'check cache' and 'mempool'
Wraps a cache of what is variously known as the 'check cache' and 'mempool'
// Wraps a cache of what is variously known as the ' check cache ' and ' mempool '
func NewBatchChecker(backend ExecutorState, blockchain *bcm.Blockchain, logger *logging.Logger,
	options ...ExecutionOption) BatchExecutor {
	exe := newExecutor("CheckCache", false, backend, blockchain, event.NewNoOpPublisher(),
		logger.WithScope("NewBatchExecutor"), options...)
	return exe.AddContext(payload.TypeGovernance,
		&contexts.GovernanceContext{
			ValidatorSet: exe.blockchain.ValidatorChecker(),
			StateWriter:  exe.stateCache,
			Logger:       exe.logger,
		},
	)
}
func NewBatchChecker ( backend ExecutorState , blockchain * bcm . Blockchain , logger * logging . Logger , options ... ExecutionOption ) BatchExecutor { exe := newExecutor ( " " , false , backend , blockchain , event . NewNoOpPublisher ( ) , logger . WithScope ( " " ) , options ... ) return exe . AddContext ( payload . TypeGovernance , & contexts . GovernanceContext { ValidatorSet : exe . blockchain . ValidatorChecker ( ) , StateWriter : exe . stateCache , Logger : exe . logger , } , ) }
Wraps a cache of what is variously known as the 'check cache' and 'mempool'
Wraps a cache of what is variously known as the ' check cache ' and ' mempool '