code: func (r *Registry) Register(ccid *ccintf.CCID, cc shim.Chaincode) error {
  	r.mutex.Lock()
  	defer r.mutex.Unlock()
  
  	name := ccid.GetName()
  	inprocLogger.Debugf("Registering chaincode instance: %s", name)
  	tmp := r.typeRegistry[name]
  	if tmp != nil {
  		return SysCCRegisteredErr(name)
  	}
  
  	r.typeRegistry[name] = &inprocContainer{chaincode: cc}
  	return nil
  }
docs: //Register registers system chaincode with given path. The deploy should be called to initialize