Use multichain to save general purpose metadata

+1 vote
I want to use multichain not for assets exchange, but to save (secure) sensitive data that serve as input for another system. In order to accept data and add them to the blockchain, they need to be first validated by a set of validators (miners) which check a set of pre-defined rules. I know that this can be implemented through STREAMs, but I have no idea how I can customize miners in order to apply the corresponding rules?
asked Nov 13, 2017 by nour
edited Nov 13, 2017 by nour

1 Answer

0 votes
Currently you would have to customize the source code of MultiChain to do this. Filters, a feature on the MultiChain 2.0 roadmap, will allow you to embed validation rules at the blockchain level.
answered Nov 13, 2017 by MultiChain
You would need to modify the AcceptMultiChainTransaction() function to apply whichever rules you wished. I'm afraid it's really beyond our scope here to go into more detail than that.
Thanks! where I can get more details about that?
We don't have documentation on how to do that – I'm afraid it would mean getting deep into the source code and learning what it does.
If you can just give me an entry point (file names, function names, etc.), that will be very helpful, Thanks!
The function AcceptMultiChainTransaction() is the right place to start.
...