From d74b784a53dfd2a0c85aa188a334cfa9a65f30b8 Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 6 May 2021 13:02:53 +1000 Subject: [PATCH] Try the canopy mainnet protocol version --- zcash/client.go | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/zcash/client.go b/zcash/client.go index 03948d1..049e0f8 100644 --- a/zcash/client.go +++ b/zcash/client.go @@ -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 (