network: bump proto versions due to change in OfferedHashesMsg (#1465)
This commit is contained in:
committed by
GitHub
parent
815a6d120f
commit
2f0b94fa1a
@ -43,7 +43,7 @@ var DefaultTestNetworkID = rand.Uint64()
|
|||||||
// BzzSpec is the spec of the generic swarm handshake
|
// BzzSpec is the spec of the generic swarm handshake
|
||||||
var BzzSpec = &protocols.Spec{
|
var BzzSpec = &protocols.Spec{
|
||||||
Name: "bzz",
|
Name: "bzz",
|
||||||
Version: 9,
|
Version: 10,
|
||||||
MaxMsgSize: 10 * 1024 * 1024,
|
MaxMsgSize: 10 * 1024 * 1024,
|
||||||
Messages: []interface{}{
|
Messages: []interface{}{
|
||||||
HandshakeMsg{},
|
HandshakeMsg{},
|
||||||
@ -53,7 +53,7 @@ var BzzSpec = &protocols.Spec{
|
|||||||
// DiscoverySpec is the spec for the bzz discovery subprotocols
|
// DiscoverySpec is the spec for the bzz discovery subprotocols
|
||||||
var DiscoverySpec = &protocols.Spec{
|
var DiscoverySpec = &protocols.Spec{
|
||||||
Name: "hive",
|
Name: "hive",
|
||||||
Version: 8,
|
Version: 9,
|
||||||
MaxMsgSize: 10 * 1024 * 1024,
|
MaxMsgSize: 10 * 1024 * 1024,
|
||||||
Messages: []interface{}{
|
Messages: []interface{}{
|
||||||
peersMsg{},
|
peersMsg{},
|
||||||
|
@ -36,7 +36,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
TestProtocolVersion = 9
|
TestProtocolVersion = 10
|
||||||
)
|
)
|
||||||
|
|
||||||
var TestProtocolNetworkID = DefaultTestNetworkID
|
var TestProtocolNetworkID = DefaultTestNetworkID
|
||||||
|
@ -623,7 +623,7 @@ func (r *Registry) createSpec() {
|
|||||||
// Spec is the spec of the streamer protocol
|
// Spec is the spec of the streamer protocol
|
||||||
var spec = &protocols.Spec{
|
var spec = &protocols.Spec{
|
||||||
Name: "stream",
|
Name: "stream",
|
||||||
Version: 8,
|
Version: 9,
|
||||||
MaxMsgSize: 10 * 1024 * 1024,
|
MaxMsgSize: 10 * 1024 * 1024,
|
||||||
Messages: []interface{}{
|
Messages: []interface{}{
|
||||||
UnsubscribeMsg{},
|
UnsubscribeMsg{},
|
||||||
|
Reference in New Issue
Block a user