go-ethereum/accounts
Manav Darji c44693706a
RFC35/Common Ancestor: Modifying the forkchoice rule (#425)
* 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>
2022-07-15 10:37:35 +05:30
..
abi RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
external accounts/external: handle 0 chainid as not-set for the Clef API (#23394) 2021-08-13 15:39:51 +03:00
keystore ethclient, accounts/keystore: fix flaky tests (#23599) 2021-09-20 10:23:44 +02:00
scwallet V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
usbwallet V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
accounts.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
accounts_test.go use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
errors.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
hd.go accounts, signer: fix Ledger Live account derivation path (clef) (#21757) 2020-11-29 13:43:15 +01:00
hd_test.go accounts, signer: fix Ledger Live account derivation path (clef) (#21757) 2020-11-29 13:43:15 +01:00
manager.go node: remove dependency on wallet backend packages (#23019) 2021-08-25 22:34:22 +02:00
sort.go accounts, console: frendly card errors, support pin unblock 2019-04-08 13:19:37 +02:00
url.go all: make logs a bit easier on the eye to digest (#22665) 2021-04-15 20:35:00 +03:00
url_test.go Update Bor to geth-v1.9.16 (#78) 2020-07-24 19:01:41 +05:30