Hi,
I have the following observations:
1. publishmulti many stream items with JSON data into a stream e.g.1000
2. read all of them via liststreamkeyitems and save the time needed for that.
3. set max shown data to a very small value e.g. 10b.
4. Read the data again which will return with txids for the data and then read the real data with gettxoutdata for each item and save the time.
--> With liststreamkeyitems and then gettxoutdata I get all of the data in nearly half of the time!!!
I thought it should be slower because of more requests...
Is this normal? I found this here:
https://www.multichain.com/qa/11391/the-runtime-param-maxshowndata-has-default-size-16384-bytes
Thanks and best regards
Johannes