stream data gets truncated

+1 vote

Hi when i publish an item inside a stream, the item seems to be truncated. i counted my item size in byte and it was around 15800 byte which is far less than following three blockchain parameter

  • max-std-op-return-size 
  • The max-std-tx-size value
  • The maximum-block-size
asked Jun 27, 2018 by anshuman

1 Answer

+1 vote
 
Best answer

This may be due to the maxshowndata runtime parameter, which limits the size of stream item data that is displayed directly in API responses. You can change this parameter or use getttxoutdata to get the stream item data in full.

If this does not explain the problem, can you please post the API command you are running and the output you receive? You can chop out the middle of the long hex string representing the data item so it is readable in this Q&A forum.

answered Jun 27, 2018 by MultiChain
selected Jun 27, 2018 by anshuman
thanks. i had to increase maxshowndata . now it worked
...