Duplicate keys in Stream

+1 vote
Hi,

I had been experiment on the new feature Stream in MultiChain. Does the key in the stream unique? I am able to publish a duplicate key in the same stream. Is that how it works?
asked Sep 28, 2016 by Sian20R

1 Answer

0 votes

Yes, this is the intended behavior. You can use this for versioning. The APIs provide easy ways to get the first or last item with a key, or a full history of all items with a key, or information about multiple keys with the first and last for each (liststreamkeys with verbose=true).

answered Sep 28, 2016 by MultiChain
...