Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R4R] Release v1.1.3 #460

Merged
merged 21 commits into from
Oct 20, 2021
Merged

[R4R] Release v1.1.3 #460

merged 21 commits into from
Oct 20, 2021

Conversation

unclezoro
Copy link
Collaborator

@unclezoro unclezoro commented Oct 18, 2021

Description

Release v1.1.3 introduces a lot of performance improvement.

It also introduce diff sync which help node sync faster.

Rationale

Improvement

  • #456 git-flow support lint, unit test, and integration test
  • #449 cache bitmap and change the cache type of GetCode
  • #454 fix cache key do not have hash func
  • #446 parallel bloom calculation
  • #442 ignore empty tx in GetDiffAccountsWithScope
  • #426 add block proccess backoff time when validator is not in turn and received in turn block
  • #398 ci pipeline for release page

BUGFIX

  • #446 fix concurrent write of subfetcher
  • #444 fix blockhash not correct for the logs of system tx receipt
  • #409 fix nil point in downloader
  • #408 core/state/snapshot: fix typo

FEATURES

  • #431 Export get diff accounts in block api
  • #412 add extension in eth protocol handshake to disable tx broadcast
  • #376 implement diff sync

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Preflight checks

  • build passed (make build)
  • tests passed (make test)
  • manual transaction test passed

Already reviewed by

...

Related issues

... reference related issue #'s here ...

yutianwu and others added 19 commits September 23, 2021 16:05
* 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>
* support get diff accounts

Signed-off-by: Keefe-Liu <bianze.kernel@gmail.com>

* add testcase for diff accounts

Signed-off-by: Keefe-Liu <bianze.kernel@gmail.com>
Signed-off-by: Keefe-Liu <bianze.kernel@gmail.com>
ignore empty tx in GetDiffAccountsWithScope
[R4R] add block proccess backoff time when validator is not in turn and received in turn block
…#412)

* add extension for eth protocol handshake

* fix comments
* change cache type of GetCode from fastcache to lrucache

Signed-off-by: kyrie-yl <yl.on.the.way@gmail.com>

* add cache for contract code bitmap

Signed-off-by: kyrie-yl <yl.on.the.way@gmail.com>

* core/vm: rework jumpdest analysis benchmarks (#23499)

* core/vm: rework jumpdest analysis benchmarks

For BenchmarkJumpdestOpAnalysis use fixed code size of ~1.2MB
and classic benchmark loop.

* core/vm: clear bitvec in jumpdest analysis benchmark

Co-authored-by: Paweł Bylica <chfast@gmail.com>
* parallel bloom calculation

* indent

* add condition if bloomJobs not nil

* add handler for worker

* fix format

* bloomWorker should exit when all txs have been processed

* rename BloomPair => BloomHash

* add size to map

* rename & unique variable

* bloomJobs => bloomProcessors

* fix

* only assign bloom if empty

* abstraction method for processing receipt bloom

* remove duplicate receipt_processor

* rename Processor

* fix  ReceiptProcessor

* fix ReceiptBloomGenertor typo

* reduce worker to 1

* remove empty wg

* add defence code to check if channel is closed

* remove nil

* format fix

* remove thread pool

* use max 100 worker capacity

* reduce worker size

* refactor startWorker
Signed-off-by: kyrie-yl <yl.on.the.way@gmail.com>
* ci: add unit test

fix: failed on test

* ci: add truffle test

* ci: update os version

* ci: add cache for go build
@unclezoro unclezoro changed the title [WIP]Develop [WIP] Release v1.1.3 Oct 19, 2021
@unclezoro unclezoro changed the title [WIP] Release v1.1.3 [R4R] Release v1.1.3 Oct 20, 2021
@unclezoro unclezoro merged commit 4edd2b1 into master Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants