swarm/network: Increase discovery and stream protocol version too

This commit is contained in:
Balint Gabor 2018-09-17 13:56:09 +02:00
parent b2d3efd798
commit fc6dc77ec5
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
var DiscoverySpec = &protocols.Spec{
Name: "hive",
Version: 5,
Version: 6,
MaxMsgSize: 10 * 1024 * 1024,
Messages: []interface{}{
peersMsg{},

View file

@ -639,7 +639,7 @@ func (c *clientParams) clientCreated() {
// Spec is the spec of the streamer protocol
var Spec = &protocols.Spec{
Name: "stream",
Version: 5,
Version: 6,
MaxMsgSize: 10 * 1024 * 1024,
Messages: []interface{}{
UnsubscribeMsg{},