statebasedval

package
v0.0.0-...-523a819 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

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

验证程序根据最新提交状态验证Tx 与在同一个块中的前一个有效事务

func NewValidator

func NewValidator(db privacyenabledstate.DB) *Validator

newvalidator构造Statevalidator

func (*Validator) ValidateAndPrepareBatch

func (v *Validator) ValidateAndPrepareBatch(block *internal.Block, doMVCCValidation bool) (*internal.PubAndHashUpdates, error)

validateAndPreparatch在validator接口中实现方法

Jump to

Keyboard shortcuts

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