validator

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: Apache-2.0 Imports: 8 Imported by: 4

README

validator

A high-speed validator verify transaction and block.

Build Status codecov

Getting started

Running it then should be as simple as:

$ make all
Testing
$ make test

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	Account  *account.Account
	Receipts types.Receipts
}

func NewValidator

func NewValidator(account *account.Account) *Validator

func (*Validator) ValidateBlock

func (self *Validator) ValidateBlock(block *types.Block, signVerify bool) (*types.Header, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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