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
056a86be
Commit
056a86be
authored
May 04, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
43cab1eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
go/neo/proto.go
go/neo/proto.go
+2
-1
go/nodetab.go
go/nodetab.go
+1
-0
No files found.
go/neo/proto.go
View file @
056a86be
...
@@ -223,6 +223,7 @@ func float64_NEODecode(b []byte) float64 {
...
@@ -223,6 +223,7 @@ func float64_NEODecode(b []byte) float64 {
}
}
// NodeInfo is information about a node
// NodeInfo is information about a node
// XXX -> nodetab.go ?
type
NodeInfo
struct
{
type
NodeInfo
struct
{
NodeType
NodeType
Address
Address
...
@@ -231,7 +232,7 @@ type NodeInfo struct {
...
@@ -231,7 +232,7 @@ type NodeInfo struct {
IdTimestamp
float64
IdTimestamp
float64
}
}
//
type CellList []struct {
//
XXX -> parttab.go ?
type
CellInfo
struct
{
type
CellInfo
struct
{
NodeID
NodeID
CellState
CellState
...
...
go/nodetab.go
View file @
056a86be
...
@@ -23,6 +23,7 @@ type Node struct {
...
@@ -23,6 +23,7 @@ type Node struct {
Info
NodeInfo
Info
NodeInfo
Link
*
NodeLink
// link to this node; =nil if not connected
Link
*
NodeLink
// link to this node; =nil if not connected
// XXX identified or not ?
}
}
...
...
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