txvalidator

package
v2.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Validator

type Validator interface {
	// Validate returns an error if validation could not be performed successfully
	// In case of successful validation, the block is modified to reflect the validity
	// of the transactions it contains
	Validate(block *common.Block) error
}

Validator defines API to validate transactions in a block

Directories

Path Synopsis
v14
mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.
v20
valinforetriever/mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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