Can you give an example of which param to use to not retrieve off chain items?

+2 votes

what exactly does each one of these parameters mean when using it with subscribe? 
streams-items,streams-items-local,streams-keys,streams-keys-local,streams-publishers,streams-publishers-local,streams-retrieve

asked Jun 29, 2019 by anonymous

1 Answer

0 votes

If you are using MultiChain Enterprise, you can use the subscribe command like this:

subscribe stream1 true keys,items

If you don't include retrieve in the last comma-delimited parameter, off-chain items in this stream won't be automatically retrieved from the network.

The streams-* options you listed are for the autosubscribe runtime parameter, not the subscribe command.

answered Jun 30, 2019 by MultiChain
...