From 225967a6e35fdc41f98f95af22f28f493fcf1f8e Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Thu, 30 Nov 2017 21:48:31 +0100 Subject: [PATCH] whisper: Update doc.go constants for v6 --- whisper/whisperv6/doc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/whisper/whisperv6/doc.go b/whisper/whisperv6/doc.go index e64dd2f42d..6ff378b23e 100644 --- a/whisper/whisperv6/doc.go +++ b/whisper/whisperv6/doc.go @@ -36,15 +36,15 @@ import ( const ( EnvelopeVersion = uint64(0) - ProtocolVersion = uint64(5) - ProtocolVersionStr = "5.0" + ProtocolVersion = uint64(6) + ProtocolVersionStr = "6.0" ProtocolName = "shh" statusCode = 0 // used by whisper protocol messagesCode = 1 // normal whisper message p2pCode = 2 // peer-to-peer message (to be consumed by the peer, but not forwarded any further) p2pRequestCode = 3 // peer-to-peer message, used by Dapp protocol - NumberOfMessageCodes = 64 + NumberOfMessageCodes = 128 paddingMask = byte(3) signatureFlag = byte(4)