diff options
author | Balint Gabor <balint.g@gmail.com> | 2018-09-18 16:17:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 16:17:13 +0800 |
commit | bd58098f2d88aabe5c555f5aa3d54d4786b7895b (patch) | |
tree | 216afd38bb440ee4a88c1db3f22f8fe745a354c8 /swarm/network/protocol.go | |
parent | 5d1d1a808d92440a7c0efad77fa5527e4255e596 (diff) | |
download | dexon-bd58098f2d88aabe5c555f5aa3d54d4786b7895b.tar dexon-bd58098f2d88aabe5c555f5aa3d54d4786b7895b.tar.gz dexon-bd58098f2d88aabe5c555f5aa3d54d4786b7895b.tar.bz2 dexon-bd58098f2d88aabe5c555f5aa3d54d4786b7895b.tar.lz dexon-bd58098f2d88aabe5c555f5aa3d54d4786b7895b.tar.xz dexon-bd58098f2d88aabe5c555f5aa3d54d4786b7895b.tar.zst dexon-bd58098f2d88aabe5c555f5aa3d54d4786b7895b.zip |
swarm: Chunk refactor improvements (#17683)
* swarm/network: Protocol bump (for chunk refactor)
* swarm/network: Increase discovery and stream protocol version too
* swarm/network: Increase priority queue cap
Diffstat (limited to 'swarm/network/protocol.go')
-rw-r--r-- | swarm/network/protocol.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/network/protocol.go b/swarm/network/protocol.go index ef0956d5f..d509d157b 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: 6, + Version: 7, MaxMsgSize: 10 * 1024 * 1024, Messages: []interface{}{ HandshakeMsg{}, @@ -54,7 +54,7 @@ var BzzSpec = &protocols.Spec{ // DiscoverySpec is the spec for the bzz discovery subprotocols var DiscoverySpec = &protocols.Spec{ Name: "hive", - Version: 5, + Version: 6, MaxMsgSize: 10 * 1024 * 1024, Messages: []interface{}{ peersMsg{}, |