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
I need such feature urgently, is it possible to do it at the application level and how?
Ar there any blockchain platform like multichain that support such features?
With MultiChain your solution for now is to filter the stream items when reading them, to check whether they fulfill your criteria. I'm not sure that any other blockchain platform provides a feature like streams.
But how to reach a consensus about adding or not a stream item?
I'm afraid this is simply not possible with the current version of MultiChain.
Even at the application level?
Is it possible (easy) to manually change the code to add such feature and how?
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.
...