swarm/network: bump up protocol versions due to wrapped message intro (#17170)

This commit is contained in:
Anton Evangelatov
2018-07-13 17:40:55 +02:00
committed by Balint Gabor
parent 7c9314f231
commit d483da766f
3 changed files with 7 additions and 7 deletions

View File

@ -44,7 +44,7 @@ const (
// BzzSpec is the spec of the generic swarm handshake
var BzzSpec = &protocols.Spec{
Name: "bzz",
Version: 4,
Version: 5,
MaxMsgSize: 10 * 1024 * 1024,
Messages: []interface{}{
HandshakeMsg{},
@ -54,7 +54,7 @@ var BzzSpec = &protocols.Spec{
// DiscoverySpec is the spec for the bzz discovery subprotocols
var DiscoverySpec = &protocols.Spec{
Name: "hive",
Version: 4,
Version: 5,
MaxMsgSize: 10 * 1024 * 1024,
Messages: []interface{}{
peersMsg{},