Regarding the underlying mechanism of liststreamitems

+3 votes
Assuming there are now 10,000 items on this stream,

'multichain-cli mychain liststreamitems mystream false 100' will show 100 items.

My question is whether it reads out 10,000 pieces of data from disk and then displays 100 items, or if it only reads out 100 items exactly.
asked Aug 13 by jham

1 Answer

0 votes
Everything is well indexed so it only reads the items it needs.
answered Aug 13 by MultiChain
...