Data Stream permission

+1 vote
1. Suppose I have 3 keys tagged in a single stream and I want that a particular node to view only one key's data.Is it possible?

2. Suppose I have created 2 separate chain in a single node. Can I communicate between 2 different chain's stream? If possible then how?

3. If we create a stream physically in which path the stream is stored? Is it resides in levelDB?

4. How business logic like addition/multiplication is handled here?Suppose I need to add data of 2 streams.How it can be done?
asked Jun 28 by anonymous
edited Jun 28

1 Answer

0 votes

1. No, there is not currently read permissioning on the MultiChain level. But you can use encryption of the data in the stream to restrict visibility.

2. If you want to communicate between chains you need to build something outside the blockchain which handles this, e.g. listens for transactions on one chain, and reacts by creating transactions on another.

3. The stream data resides in the blockchain, on disk in the blocks subdirectory. If a node is subscribed to a stream, it indexes that stream's contents in many ways, and this index is stored in LevelDB.

4. Any business logic of this type is performed off-chain, inside your application.

answered Jun 29 by MultiChain
...