Add protocol version information to fields on `NetworkParameters`
Motivation
We want to make these values configurable on Testnets:
See https://github.com/ZcashFoundation/zebra/pull/7924#discussion_r1385877140.
Outdated:
These have already been added.Possible Design
Check what values zcashd uses for Regtest and either:
- Add them to these
HashMaps forTestnetwithRegtestparameters (this support custom testnets, onlyRegtest), or - Add them as fields in
NetworkParametersand set theRegtestvalues inNetwork::new_regtest(#7839):
This isn't a priority right now
We still want to move INITIAL_MIN_NETWORK_PROTOCOL_VERSION to a field on testnet::Parameters.
This is mostly cleanup, but if we make this change and also allow for defining consensus branch ids in the config, we could participate in the following round of private Testnet testing without making any code changes.
not a priority right now