Update to NU5 mainnet network protocol version (#9)

This change should allow the seeder to connect to the network until early 2022.

The `version`, `verack`, `getaddrs`, and `addrs` messages haven't changed,
so the seeder is trivially compatible with future network upgrades.
This commit is contained in:
teor 2021-05-06 09:15:32 +10:00 committed by GitHub
parent 8aa4e10c8f
commit 3260dbff03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ var defaultPeerConfig = &peer.Config{
ChainParams: nil,
Services: 0,
TrickleInterval: time.Second * 10,
ProtocolVersion: 170011, // Heartwood
ProtocolVersion: 170015, // NU5 mainnet
}
var (