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