How to store large file in Hyperledger Fabric usin

2019-02-20 20:13发布

Hi I created an asset in Composer model file.

asset Car identifiedby assetId{
o String assetId
o String data
}

when I am trying to put large file above 30kb, it is throwing error as data too large. So, what is the limit of data that can be stored in a variable?

Is this the wrong way of storing files in blockchain(Hyperledger Fabric using Composer)?

there are questions available for storing file in hyperledger fabric/composer. However, there is no question for storing large file.

1条回答
仙女界的扛把子
2楼-- · 2019-02-20 20:52

see these answers and guidelines (on what to store etc) on these Stack Overflow resources: is there any size limit for pdf in hyperledger fabric? and also this -> what is the best way of image storage on hyperledger composer? - in the comment section it has a link to a Github resource for alternatives such as IPFS

查看更多
登录 后发表回答