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

Add disable tx gossip option #70

Merged
merged 11 commits into from
Jun 27, 2023
Merged

Conversation

pcw109550
Copy link
Member

@pcw109550 pcw109550 commented Jun 15, 2023

This PR adds --rollup.disabletxpoolgossip flag to erigon, erigon-el and rpcdaemon.

Usage: --rollup.disabletxpoolgossip=[true|false]. Default value: false.

The diff introduced in this PR receives flag value from cmdline, validates it and passes when txpool is initialized. Txpool implementation is at erigon-lib: testinprod-io/erigon-lib#13.

For rpcdaemon, when it is ran standalone and uses external txpool, currently it can not initialize txpool by itself. txpool will be already running externally. Therefore disabletxpoolgossip config for rpcdaemonis not added.

For txpool, disabletxpoolgossip is added.

@pcw109550 pcw109550 self-assigned this Jun 15, 2023
@pcw109550 pcw109550 changed the title Add flag to disable tx gossip Add disable tx gossip option Jun 16, 2023
@pcw109550 pcw109550 merged commit 210390c into op-erigon Jun 27, 2023
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.

2 participants