aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-08-21 16:34:40 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-21 16:34:40 +0800
commitc582667c9b88fabfca2908e1a6ef9b3a71daef37 (patch)
tree295cd329dab108a4bd057b712e88b28c07fd18bb /swarm/network
parentdcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d (diff)
downloadgo-tangerine-c582667c9b88fabfca2908e1a6ef9b3a71daef37.tar.gz
go-tangerine-c582667c9b88fabfca2908e1a6ef9b3a71daef37.tar.zst
go-tangerine-c582667c9b88fabfca2908e1a6ef9b3a71daef37.zip
swarm/network: bump bzz protocol version (#17449)
Diffstat (limited to 'swarm/network')
-rw-r--r--swarm/network/protocol.go2
-rw-r--r--swarm/network/protocol_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/swarm/network/protocol.go b/swarm/network/protocol.go
index 7e7fee8ef..7f7ca5eed 100644
--- a/swarm/network/protocol.go
+++ b/swarm/network/protocol.go
@@ -44,7 +44,7 @@ const (
// BzzSpec is the spec of the generic swarm handshake
var BzzSpec = &protocols.Spec{
Name: "bzz",
- Version: 5,
+ Version: 6,
MaxMsgSize: 10 * 1024 * 1024,
Messages: []interface{}{
HandshakeMsg{},
diff --git a/swarm/network/protocol_test.go b/swarm/network/protocol_test.go
index b74b72c68..c052c536a 100644
--- a/swarm/network/protocol_test.go
+++ b/swarm/network/protocol_test.go
@@ -31,7 +31,7 @@ import (
)
const (
- TestProtocolVersion = 5
+ TestProtocolVersion = 6
TestProtocolNetworkID = 3
)