diff options
author | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-08-21 16:34:40 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-21 16:34:40 +0800 |
commit | c582667c9b88fabfca2908e1a6ef9b3a71daef37 (patch) | |
tree | 295cd329dab108a4bd057b712e88b28c07fd18bb /swarm | |
parent | dcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d (diff) | |
download | dexon-c582667c9b88fabfca2908e1a6ef9b3a71daef37.tar.gz dexon-c582667c9b88fabfca2908e1a6ef9b3a71daef37.tar.zst dexon-c582667c9b88fabfca2908e1a6ef9b3a71daef37.zip |
swarm/network: bump bzz protocol version (#17449)
Diffstat (limited to 'swarm')
-rw-r--r-- | swarm/network/protocol.go | 2 | ||||
-rw-r--r-- | swarm/network/protocol_test.go | 2 |
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 ) |