Commit 747d1cf5 authored by Levin Zimmermann's avatar Levin Zimmermann

proto: Dump protocol version to post-msgpack version

NOTE: We may need to differentiate between the last N version (6) and
the msgpack version (currently 0) in order to make auto-detection of
encoding still workable (e.g. to still provide backwards-compatibility
- to connect with an older NEO cluster).
parent 4477ca26
......@@ -77,7 +77,7 @@ import (
const (
// The protocol version must be increased whenever upgrading a node may require
// to upgrade other nodes.
Version = 6
Version = 0
// length of packet header in 'N'-encoding
PktHeaderLenN = 10 // = unsafe.Sizeof(PktHeaderN{}), 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