code: func NewStatebasedValidator(txmgr txmgr.TxMgr, db privacyenabledstate.DB) validator.Validator {
  	return &DefaultImpl{txmgr, db, statebasedval.NewValidator(db)}
  }
docs: // NewStatebasedValidator constructs a validator that internally manages statebased validator and in addition
  // handles the tasks that are agnostic to a particular validation scheme such as parsing the block and handling the pvt data