The Zcash network launched with a PROTOCOL_VERSION of 170002. This is also the value of MIN_PEER_PROTO_VERSION, so we will immediately disconnect from any peer claiming to have an older version than this. However version.h also defines several constants for older Bitcoin P2P protocol versions that lacked various features or that needed workarounds for bugs. We should remove these, and simplify any code that references them to assume that the features are available, and that the workarounds are not needed.
The Zcash network launched with a
PROTOCOL_VERSION
of 170002. This is also the value ofMIN_PEER_PROTO_VERSION
, so we will immediately disconnect from any peer claiming to have an older version than this. However version.h also defines several constants for older Bitcoin P2P protocol versions that lacked various features or that needed workarounds for bugs. We should remove these, and simplify any code that references them to assume that the features are available, and that the workarounds are not needed.