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

Disable the txpool_content and eth_getTransactionCount json-rpc method and eth_newPendingTransaction stream when running auctioneer mode #38

Closed
bharath-123 opened this issue Feb 4, 2025 · 1 comment
Assignees

Comments

@bharath-123
Copy link
Collaborator

Rationale

We do not want searchers to peek into other searcher bids. They can easily do this using the txpool_content json-rpc method and also using the eth_newPendingTransaction stream.

@bharath-123 bharath-123 self-assigned this Feb 4, 2025
@bharath-123 bharath-123 changed the title Disable the txpool_content json-rpc and eth_newPendingTransaction stream when running auctioneer mode Disable the txpool_content and eth_getTransactionCount json-rpc method and eth_newPendingTransaction stream when running auctioneer mode Feb 4, 2025
@bharath-123
Copy link
Collaborator Author

bharath-123 commented Feb 10, 2025

To achieve this behaviour, we can disable the txpool http api and ws apis from the cmdline flag. To do this, we can do the following:

  1. Omit the txpool api from the --http.api flag.
  2. Disable websocket connections by removing the --ws flag.
    Refer to https://geth.ethereum.org/docs/fundamentals/command-line-options for more information.

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

No branches or pull requests

1 participant