Stream Update how is it alligned with immutable Blockchain property?

+1 vote
I have a very basic question.

I have seen I can update Stream item. Then how it is aligned with Blockchain's immutable policy? is it maintaining any version control?

I understand stream's content is written in Blockchain. Please correct me if I am wrong.

So if in Multichain I want some data to be immutable forever how can I achieve the same?
asked Jun 30 by anonymous

1 Answer

0 votes
Best answer

You cannot update stream items in MultiChain. However you can post multiple stream items under the same stream key, and this can be treated (at the application) level like updating, with the most recent item for that key being considered the valid one. But all the previous items for that key are still there in the chain as well and can be retrieved using APIs like liststreamkeyitems.

answered Jul 2 by MultiChain