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接口中实现方法
Click to show internal directories.
Click to hide internal directories.