Péter Szilágyi
d40a255e97
all: move main transaction pool into a subpool ( #27463 )
...
* all: move main transaction pool into a subpool
* go.mod: remove superfluous updates
* core/txpool: review fixes, handle txs rejected by all subpools
* core/txpool: typos
2 years ago
Péter Szilágyi
a6dda03644
all: refactor txpool into it's own package in prep for 4844
2 years ago
Seungbae Yu
ada603fab5
core: don't cache zero nonce in txNoncer ( #25603 )
...
This changes the nonce cache used by TxPool to not store cached
nonces for non-existing accounts.
2 years ago
Abirdcfly
c394c308e6
all: remove duplicate word in comments ( #25618 )
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
3 years ago
Martin Holst Swende
03bc8b7858
core: more efficient nonce-update in txpool ( #22231 )
...
* Adjust pending nonce update operation
Benchmark the speed of transaction insertion under multiple accounts
core: fix rebase issues + docstring
core: make benchmark test use sync:ed method
* core: address review comments
* core: add memreport to benchmark
Co-authored-by: WeiLoy <wei_loy@163.com>
3 years ago
gary rong
8f80cafa10
core: fix write concurrency in txpool ( #19835 )
...
* core: fix write coucurrency in txpool
* core: add rlock for pendingState read access
* core: address comments
6 years ago
Péter Szilágyi
a966425a1d
core: kill off managed state, use own tiny noncer for txpool
6 years ago