Update Metadata.

+2 votes
Is there a way to update values for a key in meta data??

Example:

Initially there is a key value pair as

brother:1 but later i have to update it as

brother:2  

as

{

"brother":2

}

but not as

{

"brother":1

},

{

"brother":2

}

 

Is multichain storing the data as Strings or key value pairs??
asked Oct 12, 2017 by sharuk43

1 Answer

+1 vote

A blockchain is an append-only record of information, so you can't delete old entries – only add new ones on top. If you use liststreamkeyitems with count=1, you will get the latest item.

answered Oct 12, 2017 by MultiChain
...