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

HeaderEx improvements #334

Open
oblique opened this issue Jul 15, 2024 · 0 comments
Open

HeaderEx improvements #334

oblique opened this issue Jul 15, 2024 · 0 comments

Comments

@oblique
Copy link
Member

oblique commented Jul 15, 2024

Some improvements for our HeaderEx implementation:

  • Add a way to choose if the request should be sent to trusted peers or not.
  • If no trusted peers are not connected we should create dial to trusted peers with DialOpts::peer_id instead of returning P2pError::NoConnectedPeers.
    • Trusted peers should be excluded from ConnectionLimits, otherwise if the limit is reached, we would not connect to them.
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