Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
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
Show 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