valimpl

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatebasedValidator

func NewStatebasedValidator(txmgr txmgr.TxMgr, db privacyenabledstate.DB) validator.Validator

newstatebasedvalidator构造一个内部管理基于状态的验证器的验证器,此外 处理与特定验证方案无关的任务,例如分析块和处理pvt数据

Types

type DefaultImpl

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

DefaultImpl实现接口验证程序。验证程序 这将执行独立于特定验证方案的常见任务 对于公共rwset的实际验证,它包含一个内部验证程序(实现接口 internal.internal validator)例如基于状态的验证程序

func (*DefaultImpl) ValidateAndPrepareBatch

func (impl *DefaultImpl) ValidateAndPrepareBatch(blockAndPvtdata *ledger.BlockAndPvtData,
	doMVCCValidation bool) (*privacyenabledstate.UpdateBatch, []*txmgr.TxStatInfo, error)

验证和批处理实现接口验证程序中的函数。

Jump to

Keyboard shortcuts

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