Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions network/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var DefaultTestNetworkID = rand.Uint64()
// BzzSpec is the spec of the generic swarm handshake
var BzzSpec = &protocols.Spec{
Name: "bzz",
Version: 10,
Version: 11,
MaxMsgSize: 10 * 1024 * 1024,
Messages: []interface{}{
HandshakeMsg{},
Expand All @@ -53,7 +53,7 @@ var BzzSpec = &protocols.Spec{
// DiscoverySpec is the spec for the bzz discovery subprotocols
var DiscoverySpec = &protocols.Spec{
Name: "hive",
Version: 9,
Version: 10,
MaxMsgSize: 10 * 1024 * 1024,
Messages: []interface{}{
peersMsg{},
Expand Down
2 changes: 1 addition & 1 deletion network/protocol_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
)

const (
TestProtocolVersion = 10
TestProtocolVersion = 11
)

var TestProtocolNetworkID = DefaultTestNetworkID
Expand Down
2 changes: 1 addition & 1 deletion network/stream/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ func (r *Registry) createSpec() {
// Spec is the spec of the streamer protocol
var spec = &protocols.Spec{
Name: "stream",
Version: 9,
Version: 10,
MaxMsgSize: 10 * 1024 * 1024,
Messages: []interface{}{
UnsubscribeMsg{},
Expand Down