9591d64e53
There is nothing requiring us to do so. It also is bad because it allows for new transaction to replace some already existing one with the same fee parameters just because it has "better" hash. But the other thing is that for transactions with equal fees it's always better for us to append them to the end of the list, instead of inserting them in the middle, so this change allows to reduce slice item movements and gain some 6-7% increase for single-node TPS. |
||
---|---|---|
.. | ||
feer.go | ||
mem_pool.go | ||
mem_pool_test.go | ||
prometheus.go |