Skip to content

add sharedStorage to the prefetcher of miner#818

Merged
unclezoro merged 2 commits intobnb-chain:developfrom
flywukong:dev-new
Mar 29, 2022
Merged

add sharedStorage to the prefetcher of miner#818
unclezoro merged 2 commits intobnb-chain:developfrom
flywukong:dev-new

Conversation

@flywukong
Copy link
Copy Markdown
Contributor

@flywukong flywukong commented Mar 28, 2022

Description

Since the miner has prefetched data , this PR make the miner main process and the prefetch process share a shared_pool with the stateDB. By this way , the prefetch data that can be directly fished to the L1.5 layer and make miner prefetch faster

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

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

Copy link
Copy Markdown
Contributor

@forcodedancing forcodedancing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please help to refine the description of this pr

@unclezoro unclezoro merged commit 4f793ed into bnb-chain:develop Mar 29, 2022
unclezoro pushed a commit that referenced this pull request Mar 29, 2022
* add sharedStorage to the prefetcher of miner

* fix miner prefetcher copy
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.

5 participants