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

optimize(op-node): increase catching up speed when sequencer lagging #108

Merged
merged 2 commits into from
Jan 5, 2024

Conversation

bnoieh
Copy link
Contributor

@bnoieh bnoieh commented Jan 4, 2024

Description

set attrs.NoTxPool to true when sequencer is catching up to increase the speed

Rationale

if op-geth tx pool is full when sequencer catching up, the speed will be affected by op-geth building full payload in background

Example

n/a

Changes

  1. set attrs.NoTxPool to true when sequencer is catching up
  2. add const lagTimeWindow to trigger catching up mode
  3. refactor to add const buildFullBlockInterval

@owen-reorg owen-reorg merged commit 635e668 into bnb-chain:develop Jan 5, 2024
9 checks passed
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.

4 participants