Reply To: Searching for a better solution
Is there a reason to loop on nodeN and byteN rather than randomly select them? Is the data sent in as a single byte or in packets that are byteN long?
Things that take a long time are often the result of the randomization space being large. The randomization space will be (
gNodes-1)*gDataBytesPerNode*60. If you have 10 nodes, 16 bytes per note, then you will need to run 9,600 transactions to cover all of the test cases.
On interesting problems like this, I can do at least 4 hours of initial consulting for free and give you insight into possible approaches (if any). You can reach me at jim at synthworks.com if you are interested.