So, the other day I tried batching a lot of transactions ~100 from the same account and sent them out to ethereum. I was programmatically creating a lot of txs, incremented the nonce accordingly, signed them and sent them put (all via web3js 1.0).
All of them got processed eventually but I could rarely see 2 or more txs go in the same block. they mostly got mined every other block one at a time. even when I increased the gasPrice a lot I couldn`t see an improvement in how quickly the batch got mined.
Does somebody have an idea why this happens?
Before moving to mainnet i tested on ropsten and an entire batch of 30txs got mined in the same block. Is this related to how miner pick which tx to put into blocks? I understand why a miner does not include in a block a tx that has its nonce in the future but i dont get why it would not include more txs from the same account if they have consecutive nonces, they're valid and the gasPrice is high. Funny thing is that every once in a while a block came out with 2 or more consecutive txs but this was rare.