MCPcopy
hub / github.com/hyperledger/fabric / getCollectionStore

Method getCollectionStore

core/chaincode/handler.go:1470–1476  ·  view source on GitHub ↗
(channelID string)

Source from the content-addressed store, hash-verified

1468}
1469
1470func (h *Handler) getCollectionStore(channelID string) privdata.CollectionStore {
1471 return privdata.NewSimpleCollectionStore(
1472 h.LedgerGetter.GetLedger(channelID),
1473 h.DeployedCCInfoProvider,
1474 h.IDDeserializerFactory,
1475 )
1476}
1477
1478func (h *Handler) State() State {
1479 h.stateLock.RLock()

Callers 1

ExecuteMethod · 0.95

Calls 2

NewSimpleCollectionStoreFunction · 0.92
GetLedgerMethod · 0.65

Tested by

no test coverage detected