bsc/cmd/geth
zjubfd 1ded097733
[R4R]implement diff sync (#376)
* implement block process part of light sync

* add difflayer protocol

* handle difflayer and refine light processor

* add testcase for diff protocol

* make it faster

* allow validator to light sync

* change into diff sync

* ligth sync: download difflayer (#2)

* ligth sync: download difflayer

Signed-off-by: kyrie-yl <lei.y@binance.com>

* download diff layer: fix according to the comments

Signed-off-by: kyrie-yl <lei.y@binance.com>

* download diff layer: update

Signed-off-by: kyrie-yl <lei.y@binance.com>

* download diff layer: fix accroding comments

Signed-off-by: kyrie-yl <lei.y@binance.com>

Co-authored-by: kyrie-yl <lei.y@binance.com>

* update light sync to diff sync

* raise the max diff limit

* add switcher of snap protocol

* fix test case

* make commit concurrently

* remove peer for diff cache when peer closed

* consensus tuning

* add test code

* remove extra message

* fix testcase and lint

make diff block configable

wait code write

fix testcase

resolve comments

resolve comment

* resolve comments

* resolve comments

* resolve comment

* fix mistake

Co-authored-by: kyrie-yl <83150977+kyrie-yl@users.noreply.github.com>
Co-authored-by: kyrie-yl <lei.y@binance.com>
2021-09-28 16:03:38 +08:00
..
testdata cmd/geth: add test to verify regexps in version check (#21962) 2020-12-09 13:59:24 +01:00
accountcmd_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
accountcmd.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00
chaincmd.go upgrade to 1.10.2 2021-04-16 12:45:26 +08:00
config.go eth/catalyst: add catalyst API prototype (#22641) 2021-04-16 21:29:22 +02:00
consolecmd_test.go cmd/utils: remove deprecated command line flags (#22263) 2021-02-24 14:07:58 +01:00
consolecmd.go cmd: retire whisper flags (#22421) 2021-03-03 16:08:14 +02:00
dao_test.go all: add read-only option to database (#22407) 2021-03-22 19:06:30 +01:00
dbcmd.go cmd/geth: add db-command to inspect freezer index (#22633) 2021-04-13 15:45:30 +02:00
genesis_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
les_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
main.go [R4R]implement diff sync (#376) 2021-09-28 16:03:38 +08:00
misccmd.go core, eth: split eth package, implement snap protocol (#21482) 2020-12-14 10:27:15 +01:00
run_test.go cmd/utils: remove deprecated command line flags (#22263) 2021-02-24 14:07:58 +01:00
snapshot.go [R4R] performance improvement in many aspects (#257) 2021-07-29 17:16:53 +08:00
usage.go [R4R]implement diff sync (#376) 2021-09-28 16:03:38 +08:00
version_check_test.go cmd/geth: add test to verify regexps in version check (#21962) 2020-12-09 13:59:24 +01:00
version_check.go cmd/geth: implement vulnerability check (#21859) 2020-12-04 15:01:47 +01:00