How go get notified from a Stream?

+1 vote
Is there a way for the nodes in the network to get notified when a new key has been published to a subscribed Stream?
asked Feb 6, 2017 by SharathChandra

1 Answer

+1 vote

We're implementing a general notification mechanism for transactions that are of particular interest to the node, including new items in subscribed streams. We hope this will be included in the next alpha release to come our shortly. If not, the release after that.

In the meantime, you can work around this by polling the liststreamitems API, but we understand this is not ideal.

answered Feb 7, 2017 by MultiChain
Is it available in the latest version ?
Yes, see the walletnotify runtime parameter, which will also be triggered by new items on any subscribed streams: https://www.multichain.com/developers/runtime-parameters/
...