Fix spacing, update user-agent version to an alpha

This commit is contained in:
teor 2021-05-06 13:07:04 +10:00 committed by GitHub
parent b3eef12a00
commit fcc2b23dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -27,15 +27,15 @@ var (
)
var defaultPeerConfig = &peer.Config{
UserAgentName: "zfnd-seeder",
UserAgentVersion: "0.1.2",
ChainParams: nil,
Services: 0,
TrickleInterval: time.Second * 10,
UserAgentName: "zfnd-seeder",
UserAgentVersion: "0.1.3-alpha.1",
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
ProtocolVersion: 170013, // Zcash Canopy mainnet
}
var (