Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComparingScriptExecutor ¶
type ComparingScriptExecutor struct {
// contains filtered or unexported fields
}
func NewComparingScriptExecutor ¶
func NewComparingScriptExecutor( log zerolog.Logger, metrics module.BackendScriptsMetrics, scriptCache *LoggedScriptCache, localExecutor ScriptExecutor, execNodeExecutor ScriptExecutor, ) *ComparingScriptExecutor
type ENScriptExecutor ¶
type ENScriptExecutor struct {
// contains filtered or unexported fields
}
func NewENScriptExecutor ¶
func NewENScriptExecutor( log zerolog.Logger, metrics module.BackendScriptsMetrics, nodeProvider *commonrpc.ExecutionNodeIdentitiesProvider, nodeCommunicator node_communicator.Communicator, connFactory connection.ConnectionFactory, scriptCache *LoggedScriptCache, ) *ENScriptExecutor
type FailoverScriptExecutor ¶
type FailoverScriptExecutor struct {
// contains filtered or unexported fields
}
func NewFailoverScriptExecutor ¶
func NewFailoverScriptExecutor(localExecutor ScriptExecutor, execNodeExecutor ScriptExecutor) *FailoverScriptExecutor
type LocalScriptExecutor ¶
type LocalScriptExecutor struct {
// contains filtered or unexported fields
}
func NewLocalScriptExecutor ¶
func NewLocalScriptExecutor( log zerolog.Logger, metrics module.BackendScriptsMetrics, executor execution.ScriptExecutor, scriptCache *LoggedScriptCache, ) *LocalScriptExecutor
type LoggedScriptCache ¶
type LoggedScriptCache struct {
// contains filtered or unexported fields
}
func NewLoggedScriptCache ¶
func (*LoggedScriptCache) LogExecutedScript ¶
func (*LoggedScriptCache) LogFailedScript ¶
func (s *LoggedScriptCache) LogFailedScript( blockID flow.Identifier, scriptHash [md5.Size]byte, executionTime time.Time, address string, script []byte, )
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
Request encapsulates the data needed to execute a script to make it easier to pass around between the various methods involved in script execution
Click to show internal directories.
Click to hide internal directories.