Syncing off-chain data between multichain nodes

+1 vote
Can we sync off-chain data (like encrypted files) between nodes [ even if I can allow specific nodes to sync ]that are connected on the chain as the use case requires to store only the hash of encrypted  file without the need to store the file itself and also to make the chain is small as much as we can to facilitate blocks retrieving
related to an answer for: On chain vs Off chain storage.
asked Jan 9, 2020 by mina

1 Answer

0 votes

You should just use MultiChain's built-in offchain data functionality for this. It's described here:

https://www.multichain.com/blog/2018/06/scaling-blockchains-off-chain-data/

Just add the parameter offchain when you use the publish command and everything happens automatically. Subscribed nodes will retrieve the off-chain data from any other node which has it.

answered Jan 9, 2020 by MultiChain
...