ironfish icon indicating copy to clipboard operation
ironfish copied to clipboard

Feature: Speed up getNewBlockTransactions during createNewBlockTemplate

Open hairtail opened this issue 2 years ago • 2 comments

Description

I have run some tests on this. With my powerful cpu 3960x, it takes: about 4 seconds with 300 transactions while it's about 200 ms with 10 transactions. I think most miners have knowledge about this situation. So most of them mined almost empty blocks for higher profits while we have so many deposit transactions to be mined.

hairtail avatar Aug 23 '22 16:08 hairtail

Since we are testnet phase, there is an easy and experiment way to do this. We can make an extra bonus for good & registered big pool miners who mine blocks with as many transactions as they can. But, you know, it's not a good idea when mainnet.

hairtail avatar Aug 23 '22 16:08 hairtail

Yes, we are aware of this dynamic and have discussed among the core team. We want to make sure miners are incentivized to mine as many transactions a possible once it comes time for mainnet!

lwisne avatar Aug 29 '22 19:08 lwisne