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
69a02de9
Commit
69a02de9
authored
Nov 28, 2016
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
bac889e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
t/neo/proto/pkt.go
t/neo/proto/pkt.go
+6
-1
No files found.
t/neo/proto/pkt.go
View file @
69a02de9
...
...
@@ -5,7 +5,7 @@ import (
)
const
(
PROTOCOL_VERSION
=
7
PROTOCOL_VERSION
=
8
MIN_PACKET_SIZE
=
10
// XXX link this to len(pkthead) ?
MAX_PACKET_SIZE
=
0x4000000
...
...
@@ -94,12 +94,16 @@ type Checksum [20]byte
// Zero value means "invalid id" (<-> None in py.PPTID)
type
PTid
uint64
// XXX move to common place ?
// TODO None encodes as '\xff' * 8 (XXX use nan for None ?)
type
Float
float64
// NOTE original NodeList = []NodeInfo
type
NodeInfo
struct
{
NodeType
Address
UUID
NodeState
IdTimestamp
Float
}
// XXX -> CellInfo (and use []CellInfo) ?
...
...
@@ -162,6 +166,7 @@ type RequestIdentification struct {
UUID
UUID
Address
Name
string
IdTimestamp
Float
}
// XXX -> ReplyIdentification? RequestIdentification.Answer somehow ?
...
...
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