Commit 9efe98bb authored by Kirill Smelkov's avatar Kirill Smelkov

go/neo/proto: Version 1 -> 4

This protocol version corresponds to protocol version used by NEO/py v1.10.

The protocol definition was updated to match that NEO/py release in
the previous patches.
parent db2062f5
......@@ -80,7 +80,7 @@ const (
// The protocol version must be increased whenever upgrading a node may require
// to upgrade other nodes. It is encoded as a 4-bytes big-endian integer and
// the high order byte 0 is different from TLS Handshake (0x16).
Version = 1
Version = 4
// length of packet header
PktHeaderLen = 10 // = unsafe.Sizeof(PktHeader{}), but latter gives typed constant (uintptr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment