good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit af5c97ae authored by Marius van der Wijden's avatar Marius van der Wijden Committed by GitHub
Browse files

core, txpool: less allocations when handling transactions (#21232)


* core: use uint64 for total tx costs instead of big.Int

* core: added local tx pool test case

* core, crypto: various allocation savings regarding tx handling

* Update core/tx_list.go

* core: added tx.GasPriceIntCmp for comparison without allocation

adds a method to remove unneeded allocation in comparison to tx.gasPrice

* core: handle pools full of locals better

* core/tests: benchmark for tx_list

* core/txlist, txpool: save a reheap operation, avoid some bigint allocs

Co-authored-by: default avatarMartin Holst Swende <martin@swende.se>
parent 8dfd66f7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment