p2p, p2p/discover: protocol version 4

release/1.0.1
Felix Lange 10 years ago
parent fc747ef4a6
commit b34a8ef624
  1. 2
      p2p/discover/udp.go
  2. 2
      p2p/peer.go

@ -15,7 +15,7 @@ import (
"github.com/ethereum/go-ethereum/rlp" "github.com/ethereum/go-ethereum/rlp"
) )
const Version = 3 const Version = 4
// Errors // Errors
var ( var (

@ -15,7 +15,7 @@ import (
) )
const ( const (
baseProtocolVersion = 3 baseProtocolVersion = 4
baseProtocolLength = uint64(16) baseProtocolLength = uint64(16)
baseProtocolMaxMsgSize = 10 * 1024 * 1024 baseProtocolMaxMsgSize = 10 * 1024 * 1024

Loading…
Cancel
Save