bsc/eth/tracers
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
..
internal/tracers eth/tracers: fix unigram tracer (#22248) 2021-02-01 14:41:43 +01:00
testdata eth/tracers: revert reason in call_tracer + error for failed internal calls (#21387) 2020-08-27 17:45:47 +08:00
api_test.go [R4R] performance improvement in many aspects (#257) 2021-07-29 17:16:53 +08:00
api.go fix: tracing system transactions failed due to wrong state (#374) 2021-08-22 18:55:04 +08:00
tracer_test.go eth/tracers, core: use scopecontext in tracers, provide statedb in capturestart (#22333) 2021-03-25 10:13:14 +01:00
tracer.go eth/tracers, core: use scopecontext in tracers, provide statedb in capturestart (#22333) 2021-03-25 10:13:14 +01:00
tracers_test.go [R4R]implement diff sync (#376) 2021-09-28 16:03:38 +08:00
tracers.go cmd, core, eth/tracers: support fancier js tracing (#15516) 2017-12-21 13:56:11 +02:00