How MultiChain stream is stored and protected?

+2 votes

How the stream is stored in MultiChain and how is it protected?
asked Sep 28, 2016 by Sian20R

1 Answer

0 votes

The stream data is stored within a transaction output using a special OP_DROP + OP_RETURN format. We will document this on the site in due course but here's the basic format:

spke [16 byte prefix of createtxid] OP_DROP spkk [binary item key up to 256 chars] OP_DROP OP_RETURN [possibly long binary item value]

The stream item is written in a transaction so it enjoys the same protection (digital signature + immutability) as any other blockchain transaction.

answered Sep 28, 2016 by MultiChain