From fc6dc77ec5241089583d2c8c17b43207240d1c0b Mon Sep 17 00:00:00 2001 From: Balint Gabor Date: Mon, 17 Sep 2018 13:56:09 +0200 Subject: [PATCH] swarm/network: Increase discovery and stream protocol version too --- swarm/network/protocol.go | 2 +- swarm/network/stream/stream.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/swarm/network/protocol.go b/swarm/network/protocol.go index c1b293dc32..d509d157bb 100644 --- a/swarm/network/protocol.go +++ b/swarm/network/protocol.go @@ -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{}, diff --git a/swarm/network/stream/stream.go b/swarm/network/stream/stream.go index 1f1f34b7bd..981826f0be 100644 --- a/swarm/network/stream/stream.go +++ b/swarm/network/stream/stream.go @@ -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{},