-
Notifications
You must be signed in to change notification settings - Fork 116
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 a disable_peers
field to testnet::Parameters
#8361
Comments
initial_peers
field to Network
disable_peers
field to Network
disable_peers
field to Network
0
on Regtest (Zebra should not make any peer connections)
0
on Regtest (Zebra should not make any peer connections)disable_peers
field to testnet::Parameters
@arya2 is this still necessary? |
No, returning an empty set from the It could be useful for creating isolated custom Testnets later, which would be like custom Regtest networks (Zebra's Regtest currently tries to closely match the zcashd Regtest parameters, users may want to closely match the Mainnet parameters instead). |
This issue is still low-priority cleanup so that it's easy to configure Zebra to disallow peers on a custom Testnet, but it turned out zcashd's Regtest allows local connections and it's likely easier to fix this issue in parallel. |
Motivation
We want to disable non-local peer connections for
Regtest
.Note
Make sure to search for the issue number and address any TODOs.
The text was updated successfully, but these errors were encountered: