go-ethereum/eth
Guillaume Ballet 6c8310ebb4
trie: use stacktrie for Derivesha operation (#21407)
core/types: use stacktrie for derivesha

trie: add stacktrie file

trie: fix linter

core/types: use stacktrie for derivesha

rebased: adapt stacktrie to the newer version of DeriveSha

Co-authored-by: Martin Holst Swende <martin@swende.se>

More linter fixes

review feedback: no key offset for nodes converted to hashes

trie: use EncodeRLP for full nodes

core/types: insert txs in order in derivesha

trie: tests for derivesha with stacktrie

trie: make stacktrie use pooled hashers

trie: make stacktrie reuse tmp slice space

trie: minor polishes on stacktrie

trie/stacktrie: less rlp dancing

core/types: explain the contorsions in DeriveSha

ci: fix goimport errors

trie: clear mem on subtrie hashing

squashme: linter fix

stracktrie: use pooling, less allocs (#3)

trie: in-place hex prefix, reduce allocs and add rawNode.EncodeRLP

Reintroduce the `[]node` method, add the missing `EncodeRLP` implementation for `rawNode` and calculate the hex prefix in place.

Co-authored-by: Martin Holst Swende <martin@swende.se>

Co-authored-by: Martin Holst Swende <martin@swende.se>
2020-09-29 17:38:13 +02:00
..
downloader trie: use stacktrie for Derivesha operation (#21407) 2020-09-29 17:38:13 +02:00
fetcher
filters
gasprice cmd, eth: offer maxprice flag for overwritting price cap (#21531) 2020-09-09 18:38:47 +03:00
tracers eth/tracers: regenerate assets from #21549 (#21564) 2020-09-15 08:22:47 +02:00
api.go eth: added trace_call to trace on top of arbitrary blocks (#21338) 2020-09-07 10:52:01 +02:00
api_backend.go
api_test.go
api_tracer.go eth: added trace_call to trace on top of arbitrary blocks (#21338) 2020-09-07 10:52:01 +02:00
backend.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
bloombits.go eth: updated comments (#21490) 2020-08-26 13:20:12 +03:00
config.go cmd, eth: offer maxprice flag for overwritting price cap (#21531) 2020-09-09 18:38:47 +03:00
discovery.go cmd/devp2p: add eth protocol test suite (#21598) 2020-09-23 15:18:17 +02:00
gen_config.go
handler.go trie: use stacktrie for Derivesha operation (#21407) 2020-09-29 17:38:13 +02:00
handler_test.go
helper_test.go cmd/devp2p: add eth protocol test suite (#21598) 2020-09-23 15:18:17 +02:00
peer.go eth: use maxQueuedTxAnns for to limit the number of transactions announced (#21419) 2020-08-06 15:19:00 +03:00
protocol.go
protocol_test.go cmd/devp2p: add eth protocol test suite (#21598) 2020-09-23 15:18:17 +02:00
sync.go
sync_test.go