swarm/network: increased hive and test protocol version

This commit is contained in:
Fabio Barone 2018-11-26 11:40:46 -05:00
parent 8fe316ba20
commit 7e48e57612
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ var BzzSpec = &protocols.Spec{
// DiscoverySpec is the spec for the bzz discovery subprotocols // DiscoverySpec is the spec for the bzz discovery subprotocols
var DiscoverySpec = &protocols.Spec{ var DiscoverySpec = &protocols.Spec{
Name: "hive", Name: "hive",
Version: 6, Version: 8,
MaxMsgSize: 10 * 1024 * 1024, MaxMsgSize: 10 * 1024 * 1024,
Messages: []interface{}{ Messages: []interface{}{
peersMsg{}, peersMsg{},

View file

@ -31,7 +31,7 @@ import (
) )
const ( const (
TestProtocolVersion = 7 TestProtocolVersion = 8
TestProtocolNetworkID = 3 TestProtocolNetworkID = 3
) )