Try the canopy mainnet protocol version

This commit is contained in:
teor 2021-05-06 13:02:53 +10:00 committed by Deirdre Connolly
parent 3260dbff03
commit d74b784a53
1 changed files with 9 additions and 6 deletions

View File

@ -27,12 +27,15 @@ var (
)
var defaultPeerConfig = &peer.Config{
UserAgentName: "zfnd-seeder",
UserAgentVersion: "0.1.2",
ChainParams: nil,
Services: 0,
TrickleInterval: time.Second * 10,
ProtocolVersion: 170015, // NU5 mainnet
UserAgentName: "zfnd-seeder",
UserAgentVersion: "0.1.2",
ChainParams: nil,
Services: 0,
TrickleInterval: time.Second * 10,
// TODO: fork https://github.com/gtank/btcd/blob/master/peer/peer.go
// and set MinAcceptableProtocolVersion to Zcash Canopy mainnet (170013)
// see ticket #10 for details
ProtocolVersion: 170013, // Zcash Canopy mainnet
}
var (