go-ethereum/common
Marius van der Wijden af5c97aebe
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: Martin Holst Swende <martin@swende.se>
2020-07-01 19:35:26 +02:00
..
bitutil common/bitutil: use result of TestBytes to prevent dead code elimination (#19846) 2019-07-17 10:23:43 +02:00
compiler common/compiler: fix lint issue (#19967) 2019-08-15 12:12:56 +02:00
fdlimit common/fdlimit: build on DragonflyBSD (#21241) 2020-06-19 15:43:52 +02:00
hexutil common/hexutil: improve GraphQL error messages (#20353) 2019-11-21 15:51:25 +02:00
math core, txpool: less allocations when handling transactions (#21232) 2020-07-01 19:35:26 +02:00
mclock all: fix goroutine leaks in unit tests by adding 1-elem channel buffer (#20666) 2020-02-17 17:33:11 +01:00
prque all: fix a bunch of inconsequential goroutine leaks (#20667) 2020-04-03 20:07:22 +02:00
big.go core, vm, common: define constantinople fork + shift (#16045) 2018-02-23 12:32:57 +02:00
bytes.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
bytes_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
debug.go core: added basic chain configuration 2016-04-01 01:01:10 +02:00
format.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
path.go common: improve documentation comments (#16701) 2018-05-29 12:42:21 +02:00
size.go core, cmd, vendor: fixes and database inspection tool (#15) 2019-05-16 10:39:34 +03:00
size_test.go cmd/utils, eth: relinquish GC cache to read cache in archive mode 2019-02-07 14:36:25 +02:00
test_utils.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
types.go common: improve GraphQL error messages (#20354) 2019-11-21 16:34:28 +02:00
types_test.go core/vm: 64 bit memory and gas calculations (#19210) 2019-03-12 11:40:05 +02:00