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

Allow local peer connections on Regtest #9182

Open
arya2 opened this issue Jan 31, 2025 · 0 comments
Open

Allow local peer connections on Regtest #9182

arya2 opened this issue Jan 31, 2025 · 0 comments
Labels
A-network Area: Network protocol updates or fixes C-testing Category: These are tests

Comments

@arya2
Copy link
Contributor

arya2 commented Jan 31, 2025

Motivation

This will be needed for the RPC tests and to match zcashd's behaviour on Regtest as closely as possible.

Design

On Regtest:

  • Return the configured initial testnet peers without loading the peer cache in zebra_network::Config.initial_peers() instead of returning an empty set, and
  • Reject incoming connections and avoid attempting outbound connections with peers outside the local host domain.
@github-project-automation github-project-automation bot moved this to New in Zebra Jan 31, 2025
@arya2 arya2 added A-network Area: Network protocol updates or fixes C-testing Category: These are tests labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-network Area: Network protocol updates or fixes C-testing Category: These are tests
Projects
Status: New
Development

No branches or pull requests

1 participant