mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
swarm/network: bump versions for protocols bzz, hive and stream to 2
This commit is contained in:
parent
5e07db47fa
commit
c806f0aa20
2 changed files with 3 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ const (
|
|||
// BzzSpec is the spec of the generic swarm handshake
|
||||
var BzzSpec = &protocols.Spec{
|
||||
Name: "bzz",
|
||||
Version: 1,
|
||||
Version: 2,
|
||||
MaxMsgSize: 10 * 1024 * 1024,
|
||||
Messages: []interface{}{
|
||||
HandshakeMsg{},
|
||||
|
|
@ -69,7 +69,7 @@ var BzzSpec = &protocols.Spec{
|
|||
// DiscoverySpec is the spec for the bzz discovery subprotocols
|
||||
var DiscoverySpec = &protocols.Spec{
|
||||
Name: "hive",
|
||||
Version: 1,
|
||||
Version: 2,
|
||||
MaxMsgSize: 10 * 1024 * 1024,
|
||||
Messages: []interface{}{
|
||||
peersMsg{},
|
||||
|
|
|
|||
|
|
@ -642,7 +642,7 @@ func (c *clientParams) clientCreated() {
|
|||
// Spec is the spec of the streamer protocol
|
||||
var Spec = &protocols.Spec{
|
||||
Name: "stream",
|
||||
Version: 1,
|
||||
Version: 2,
|
||||
MaxMsgSize: 10 * 1024 * 1024,
|
||||
Messages: []interface{}{
|
||||
UnsubscribeMsg{},
|
||||
|
|
|
|||
Loading…
Reference in a new issue