mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
2f0758e817
* 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 |
||
---|---|---|
.. | ||
bodydownload | ||
headerdownload | ||
blockchain_test.go | ||
chain_makers_test.go | ||
genesis_test.go | ||
mock_sentry.go | ||
sentry_mock_test.go | ||
stageloop.go |