What is the blockToLive property in implicit private data collection in Hyperledger Fabric?

Viewed 223

In my chaincode I am writing data in multiple implicit private collections (e.g. _implicit_org_Org1MSP), but I couldn't find any information about the default blockToLive value used in the implicit collections.

My intent is to keep the data forever, so I would need blockToLive set to 0.

Is this the default? Otherwise is it possible to set a value valid for all the implicit private collections?

I am using Hyperledger Fabric 2.1.1.

2 Answers

Yes, the default blockToLive value is 0 for all implicit private data collections.

Related