File tree 2 files changed +1
-11
lines changed
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 36
36
errDecodeFailed = errors .New ("fail to decode istanbul message" )
37
37
)
38
38
39
- // If you want to add a code, you need to increment the Lengths Array size!
40
39
const (
41
40
handshakeTimeout = 5 * time .Second
42
41
)
Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ import (
22
22
23
23
// Constants to match up protocol versions and messages
24
24
const (
25
- // No longer supported, can be removed.
26
- // The corresponding version upstream (eth/66) is removed in upstream PR #23120.
27
- // Celo66 = 66
28
-
29
25
// Supported versions
30
26
Celo67 = 67 // incorporates changes from eth/66 (EIP-2481)
31
27
)
@@ -38,13 +34,8 @@ const ProtocolName = "istanbul"
38
34
var ProtocolVersions = []uint {Celo67 }
39
35
40
36
// protocolLengths are the number of implemented message corresponding to different protocol versions.
41
- var ProtocolLengths = map [uint ]uint64 {Celo67 : 25 }
42
-
43
- // NOTICE:
44
37
// celo/67, uses as the last message the 0x18, so it has 25 messages (including the 0x00)
45
- // celo/66 has 27 as an unharm effect of removing 2 messages before the mainnet launch, that were
46
- // never updated with the actual number (https://github.com/celo-org/celo-blockchain/pull/893)
47
- // The Celo66 protocol has actually 25 messages, but we keep it with 27 to avoid problems.
38
+ var ProtocolLengths = map [uint ]uint64 {Celo67 : 25 }
48
39
49
40
// Message codes for istanbul related messages
50
41
// If you want to add a code, you need to increment the protocolLengths Array size
You can’t perform that action at this time.
0 commit comments