Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
1b224d8b
Commit
1b224d8b
authored
Jan 15, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1e468ff0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
go/neo/proto/proto.go
go/neo/proto/proto.go
+3
-3
No files found.
go/neo/proto/proto.go
View file @
1b224d8b
...
@@ -24,11 +24,11 @@
...
@@ -24,11 +24,11 @@
// ID of subconnection multiplexed on top of the underlying link, carried
// ID of subconnection multiplexed on top of the underlying link, carried
// message code and message data.
// message code and message data.
//
//
// PktHeaderN describes packet header structure
. XXX + msgpack
// PktHeaderN describes packet header structure
in 'N' encoding.
//
//
// Messages are represented by corresponding types that all implement Msg interface.
// Messages are represented by corresponding types that all implement Msg interface.
//
//
// A message type can be looked up by message code with MsgType.
XXX unpublish ?
// A message type can be looked up by message code with MsgType.
//
//
// The proto packages provides only message definitions and low-level
// The proto packages provides only message definitions and low-level
// primitives for their marshalling. Package lab.nexedi.com/kirr/neo/go/neo/neonet
// primitives for their marshalling. Package lab.nexedi.com/kirr/neo/go/neo/neonet
...
@@ -80,7 +80,7 @@ const (
...
@@ -80,7 +80,7 @@ const (
// the high order byte 0 is different from TLS Handshake (0x16). XXX update for msgpack
// the high order byte 0 is different from TLS Handshake (0x16). XXX update for msgpack
Version
=
6
Version
=
6
// length of packet header in 'N'-encoding
XXX unpublish?
// length of packet header in 'N'-encoding
PktHeaderLenN
=
10
// = unsafe.Sizeof(PktHeaderN{}), but latter gives typed constant (uintptr)
PktHeaderLenN
=
10
// = unsafe.Sizeof(PktHeaderN{}), but latter gives typed constant (uintptr)
// packets larger than PktMaxSize are not allowed.
// packets larger than PktMaxSize are not allowed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment