aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-04-27 19:42:30 +0800
committerFelix Lange <fjl@twurst.com>2015-04-30 20:57:34 +0800
commitb34a8ef624499e15cc3a2a51bddd94391f9b993e (patch)
treeb85d8a77a857fb34d7e8c4909a01173a74dc31e7 /p2p
parentfc747ef4a649cd90aec5193a8af6b7accb5eb03f (diff)
downloaddexon-b34a8ef624499e15cc3a2a51bddd94391f9b993e.tar.gz
dexon-b34a8ef624499e15cc3a2a51bddd94391f9b993e.tar.zst
dexon-b34a8ef624499e15cc3a2a51bddd94391f9b993e.zip
p2p, p2p/discover: protocol version 4
Diffstat (limited to 'p2p')
-rw-r--r--p2p/discover/udp.go2
-rw-r--r--p2p/peer.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/p2p/discover/udp.go b/p2p/discover/udp.go
index baff75a63..c81ca1a53 100644
--- a/p2p/discover/udp.go
+++ b/p2p/discover/udp.go
@@ -15,7 +15,7 @@ import (
"github.com/ethereum/go-ethereum/rlp"
)
-const Version = 3
+const Version = 4
// Errors
var (
diff --git a/p2p/peer.go b/p2p/peer.go
index bc0e6eb5f..94fa03f8d 100644
--- a/p2p/peer.go
+++ b/p2p/peer.go
@@ -15,7 +15,7 @@ import (
)
const (
- baseProtocolVersion = 3
+ baseProtocolVersion = 4
baseProtocolLength = uint64(16)
baseProtocolMaxMsgSize = 10 * 1024 * 1024