mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
swarm/network: Increase discovery and stream protocol version too
This commit is contained in:
parent
b2d3efd798
commit
fc6dc77ec5
2 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,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: 5,
|
Version: 6,
|
||||||
MaxMsgSize: 10 * 1024 * 1024,
|
MaxMsgSize: 10 * 1024 * 1024,
|
||||||
Messages: []interface{}{
|
Messages: []interface{}{
|
||||||
peersMsg{},
|
peersMsg{},
|
||||||
|
|
|
||||||
|
|
@ -639,7 +639,7 @@ func (c *clientParams) clientCreated() {
|
||||||
// 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: 5,
|
Version: 6,
|
||||||
MaxMsgSize: 10 * 1024 * 1024,
|
MaxMsgSize: 10 * 1024 * 1024,
|
||||||
Messages: []interface{}{
|
Messages: []interface{}{
|
||||||
UnsubscribeMsg{},
|
UnsubscribeMsg{},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue