Reputation: 11137
I'm following this tutorial to connect up Watson IoT with Blockchain.
I set up node-red & Watson IoT Platform with Blockchain extension enabled & connected. I set up the fabric, and everything seems to be working. However, my IoT device sent 3 messages of the same payload thru.
When I look at the block activity, I see 1 block with 3 invocations instead of 3 blocks with 1 invocation each.
Why is there only 1 block versus 3 blocks?
Upvotes: 0
Views: 135
Reputation: 276
The number of transactions (deploy or invoke) per block depends on timing. Since the IoT device sent three messages with the same payload, I would image that this happened in close time proximity. A block is created every second or when 1,000 transactions have been added to a block (whichever comes first). If the three invocations happened in less than the span of a second, then they would be included in the same block.
Upvotes: 1