change(nu5): bump version and protocol version (#16)

* change(nu5): bump version and protocol version

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

Co-authored-by: teor <teor@riseup.net>
This commit is contained in:
Conrado Gouvea 2022-03-30 11:16:01 -03:00 committed by GitHub
parent c583660bbc
commit e9a2d22878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ var (
var defaultPeerConfig = &peer.Config{
UserAgentName: "zfnd-seeder",
UserAgentVersion: "0.1.3-alpha.3",
UserAgentVersion: "0.1.3-alpha.4",
ChainParams: nil,
Services: 0,
TrickleInterval: time.Second * 10,
@ -40,7 +40,7 @@ var defaultPeerConfig = &peer.Config{
// TODO: fork https://github.com/gtank/btcd/blob/master/peer/peer.go
// and set MinAcceptableProtocolVersion based on the most recently activated network upgrade
// see ticket #10 for details
ProtocolVersion: 170017, // Zcash NU5 mainnet with addrv2
ProtocolVersion: 170100, // Zcash NU5 mainnet
}
var (