fabric: github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/validator/statebasedval Index | Files

package statebasedval

import "github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/validator/statebasedval"

Index

Package Files

combined_iterator.go range_query_validator.go state_based_validator.go

type Validator Uses

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

Validator validates a tx against the latest committed state and preceding valid transactions with in the same block

func NewValidator Uses

func NewValidator(db privacyenabledstate.DB) *Validator

NewValidator constructs StateValidator

func (*Validator) ValidateAndPrepareBatch Uses

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

ValidateAndPrepareBatch implements method in Validator interface

Package statebasedval imports 10 packages (graph) and is imported by 1 packages. Updated 2018-12-24. Refresh now. Tools for package owners.