aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-10-22 02:44:22 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-10-22 02:44:22 +0800
commit0467a6ceec4973b00c344d2a724f7fb01a6b0aee (patch)
tree66e010270bdf25fa0058c89fb31f6df8cf7f7829 /eth/protocol.go
parentdba15d9c3609bcddfc7a4f0fe8f01c48a8bbfbc8 (diff)
parent5b0ee8ec304663898073b7a4c659e1def23716df (diff)
downloaddexon-0467a6ceec4973b00c344d2a724f7fb01a6b0aee.tar
dexon-0467a6ceec4973b00c344d2a724f7fb01a6b0aee.tar.gz
dexon-0467a6ceec4973b00c344d2a724f7fb01a6b0aee.tar.bz2
dexon-0467a6ceec4973b00c344d2a724f7fb01a6b0aee.tar.lz
dexon-0467a6ceec4973b00c344d2a724f7fb01a6b0aee.tar.xz
dexon-0467a6ceec4973b00c344d2a724f7fb01a6b0aee.tar.zst
dexon-0467a6ceec4973b00c344d2a724f7fb01a6b0aee.zip
Merge pull request #1889 from karalabe/fast-sync-rebase
eth/63 fast synchronization algorithm
Diffstat (limited to 'eth/protocol.go')
-rw-r--r--eth/protocol.go10
1 files changed, 2 insertions, 8 deletions
diff --git a/eth/protocol.go b/eth/protocol.go
index 49f096a3b..410347ed3 100644
--- a/eth/protocol.go
+++ b/eth/protocol.go
@@ -31,14 +31,13 @@ const (
eth61 = 61
eth62 = 62
eth63 = 63
- eth64 = 64
)
// Supported versions of the eth protocol (first is primary).
-var ProtocolVersions = []uint{eth64, eth63, eth62, eth61}
+var ProtocolVersions = []uint{eth63, eth62, eth61}
// Number of implemented message corresponding to different protocol versions.
-var ProtocolLengths = []uint64{15, 12, 8, 9}
+var ProtocolLengths = []uint64{17, 8, 9}
const (
NetworkId = 1
@@ -73,11 +72,6 @@ const (
NodeDataMsg = 0x0e
GetReceiptsMsg = 0x0f
ReceiptsMsg = 0x10
-
- // Protocol messages belonging to eth/64
- GetAcctProofMsg = 0x11
- GetStorageDataProof = 0x12
- Proof = 0x13
)
type errCode int