erigon-pulse/turbo/stages
TBC Dev 2f0758e817
ChainSegment efficiency (#3042)
* De-dup blockHeaders66() and blockHeaders65()

* Simplify loops and EOL detection

* Add ChainSegmentHeader struct and refactor

* Add RawRlpHash() to avoid re-encode for header hash

* Avoid multiple redundant rlpHash()

* Sort headers by height,hash to make dups consecutive

* Flip condition to reduce map lookups

* Remove redundant check

* Use rlp.RawValue rather than []byte to help self-document
2021-11-27 17:28:17 +00:00
..
bodydownload Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey) (#3013) 2021-11-22 05:39:31 +00:00
headerdownload ChainSegment efficiency (#3042) 2021-11-27 17:28:17 +00:00
blockchain_test.go Canonical tx ids (#2986) 2021-11-18 14:07:55 +00:00
chain_makers_test.go Apache licensed logger (#2460) 2021-07-29 17:23:23 +07:00
genesis_test.go Inner errors (#2774) 2021-10-04 22:16:52 +07:00
mock_sentry.go Drop txpool v1 (#3017) 2021-11-22 18:38:51 +00:00
sentry_mock_test.go Canonical tx ids (#2986) 2021-11-18 14:07:55 +00:00
stageloop.go Drop txpool v1 (#3017) 2021-11-22 18:38:51 +00:00