code: func (p *provider) OpenStore(ledgerid string) (Store, error) {
  	dbHandle := p.dbProvider.GetDBHandle(ledgerid)
  	s := &store{db: dbHandle, ledgerid: ledgerid,
  		collElgProcSync: &collElgProcSync{
  			notification: make(chan bool, 1),
  			procComplete: make(chan bool, 1),
  		},
  	}
  	if err := s.initState(); err != nil {
  		return nil, err
  	}
  	s.launchCollElgProc()
  	logger.Debugf("Pvtdata store opened. Initial state: isEmpty [%t], lastCommittedBlock [%d], batchPending [%t]",
  		s.isEmpty, s.lastCommittedBlock, s.batchPending)
  	return s, nil
  }
docs: // OpenStore returns a handle to a store