Can I use multichain for storage?

+1 vote
I would like to use the multichain as a concept of storage.
Is there a way to reload a file with txId by putting about 5MB of files in a private blockchain?

The way I thought it would be to use OP_RETURN or stream, but I do not know much.

Thank you.
asked Mar 23, 2017 by stompesi

1 Answer

+1 vote

Yes, you can certainly do this, and streams would be the easiest way. The latest version of MultiChain supports up to 64 MB of arbitrary data storage per transaction, including in stream items.

But to store a file of that size, you will need to start a blockchain with some larger parameters than the defaults, which limit the size of individual items to 2 MB. Take a look at the max-std-tx-sizemax-std-op-return-size and maximum-block-size blockchain parameters: http://www.multichain.com/developers/blockchain-parameters/

Note that, depending on the maxshowndata runtime parameter, MultiChain will not give you the entire file contents when using the stream APIs. But it will pass you values that you can then pass to gettxoutdata, to get the file in part or in full.

answered Mar 24, 2017 by MultiChain
...