plugeth/core/txpool
Martin Holst Swende beda6c41ad
core/txpool: move some validation to outside of mutex (#27006)
Currently, most of transaction validation while holding the txpool mutex: one exception being an early-on signature check. 

This PR changes that, so that we do all non-stateful checks before we entering the mutex area. This means they can be performed in parallel, and to enable that, certain fields have been made atomic bools and uint64.
2023-04-03 07:16:57 -04:00
..
journal.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
list_test.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
list.go core/txpool: use atomic int added in go1.19 (#26913) 2023-03-20 04:12:24 -04:00
noncer.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
txpool2_test.go core/txpool: use atomic int added in go1.19 (#26913) 2023-03-20 04:12:24 -04:00
txpool_test.go core/txpool: move some validation to outside of mutex (#27006) 2023-04-03 07:16:57 -04:00
txpool.go core/txpool: move some validation to outside of mutex (#27006) 2023-04-03 07:16:57 -04:00