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

send transactions directly to static p2p peers #174

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

andyzhang2023
Copy link
Contributor

Description

We used to broadcast a transaction body directly to Sqrt(n) peers, and announce its hash to others. But if static.peers is configured, we can broadcast transactions body directly to them but not announce hashes because:

  1. static peers mean trusted peers.
  2. send transaction bodies directly means lower latency and higher throughput.

When configuring static.peers, we should upgrade those static.peers to the latest version to support heavy traffic first.

@andyzhang2023 andyzhang2023 marked this pull request as draft October 8, 2024 03:01
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.

3 participants