mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
* initial * update * fix: add validator to NewBlockchain function calls * handle past chain reorg * fix: only check with last checkpoint * rm logs * add: handle future chain import case * fix: handle single block case * add unit tests for past and future chain * modularise forker tests * minor fixes * add: overlapping chain test case, minor fixes * minor fixes * add: isolated unit test for IsValidChain * add more test case for IsValidChain * fix: use index for header time * add: fetch last N checkpoints in first run * fix: change checkpoint count to int64 * fix: handle edge case * fix: handle no checkpoint case separately * fix: consider offset for future chain calculation * re-write test case for split chain * fix: typo * add: split chain properties test * separate reorg checks, validate chain before inserting * fix: handle err incase of invalid chain * fix: use error from whitelist service * split chain property tests * remove duplicate test cases * cleanup * clean up * fix linters * fix: fetch checkpoint count bug, add tests * fix more linters * fix: handle nil chain validator in downloader * fix: mock bor tests Co-authored-by: Evgeny Danienko <6655321@bk.ru> |
||
|---|---|---|
| .. | ||
| flagset | ||
| server | ||
| account.go | ||
| account_import.go | ||
| account_list.go | ||
| account_new.go | ||
| attach.go | ||
| bootnode.go | ||
| bor_fingerprint.go | ||
| chain.go | ||
| chain_sethead.go | ||
| chain_watch.go | ||
| command.go | ||
| debug.go | ||
| debug_block.go | ||
| debug_pprof.go | ||
| debug_test.go | ||
| markdown.go | ||
| markdown_test.go | ||
| peers.go | ||
| peers_add.go | ||
| peers_list.go | ||
| peers_remove.go | ||
| peers_status.go | ||
| status.go | ||
| version.go | ||