execution

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ExecutionSizeLimit = 32 * 1024

ExecutionSizeLimit is the maximum size of execution allowed

Variables

This section is empty.

Functions

This section is empty.

Types

type Protocol

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

Protocol defines the protocol of handling executions

func NewProtocol

func NewProtocol(cm protocol.ChainManager) *Protocol

NewProtocol instantiates the protocol of exeuction

func (*Protocol) Handle

Handle handles an execution

func (*Protocol) Validate

func (p *Protocol) Validate(_ context.Context, act action.Action) error

Validate validates an execution

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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