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
Alexandr
804c853537
fix: tracing system transactions failed due to wrong state ( #374 )
...
* fixed wrong state creation which resulted in fail of tracing transaction
* sorted package imports
* added the check to `standardTraceBlockToFile` that resolves the #314
Co-authored-by: alexqrid <>
2021-08-22 18:55:04 +08:00
Péter Szilágyi
2a7c4b62a9
eth: fix tracing state retrieval if requesting the non-dirty genesis
2021-04-07 18:35:25 +03:00
gary rong
a600dab7e5
eth, les: fix tracers ( #22473 )
...
* eth, les: fix tracer
* eth: isolate live trie database in tracer
* eth: fix nil
* eth: fix
* eth, les: add checkLive param
* eth/tracer: fix
2021-04-07 10:30:26 +03:00
Martin Holst Swende
c6d45009f1
eth, les: properly init statedb accesslist during tracing ( #22480 )
...
* eth/state, les/state: properly init statedb accesslist when tracing, fixes #22475
* eth: review comments
* eth/tracers: fix compilation err
* eth/tracers: apply @karalabe's suggested fix
2021-03-14 17:13:25 +02:00
gary rong
adf130def8
eth/tracers: move tracing APIs into eth/tracers ( #22161 )
...
This moves the tracing RPC API implementation to package eth/tracers.
By doing so, package eth no longer depends on tracing and the duktape JS engine.
The change also enables tracing using the light client. All tracing methods work with the
light client, but it's a lot slower compared to using a full node.
2021-01-25 14:36:39 +01:00