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
7864d9cb
Commit
7864d9cb
authored
Jan 29, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
8e974dd9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
go/neo/proto/proto.go
go/neo/proto/proto.go
+3
-3
go/neo/xneo/nodetab.go
go/neo/xneo/nodetab.go
+1
-1
No files found.
go/neo/proto/proto.go
View file @
7864d9cb
...
@@ -379,7 +379,7 @@ type NodeInfo struct {
...
@@ -379,7 +379,7 @@ type NodeInfo struct {
Addr
Address
// serving address
Addr
Address
// serving address
NID
NodeID
NID
NodeID
State
NodeState
State
NodeState
IdTime
IdTime
//
XXX clarify semantic where it is used
IdTime
IdTime
//
when this node last identified to master
}
}
//neo:proto typeonly
//neo:proto typeonly
...
@@ -411,7 +411,7 @@ type Error struct {
...
@@ -411,7 +411,7 @@ type Error struct {
//
//
//neo:nodes * -> *
//neo:nodes * -> *
type
RequestIdentification
struct
{
type
RequestIdentification
struct
{
NodeType
NodeType
// XXX name
NodeType
NodeType
// XXX name
(-> Type)
NID
NodeID
NID
NodeID
Address
Address
// where requesting node is also accepting connections
Address
Address
// where requesting node is also accepting connections
ClusterName
string
ClusterName
string
...
@@ -423,7 +423,7 @@ type RequestIdentification struct {
...
@@ -423,7 +423,7 @@ type RequestIdentification struct {
//neo:proto answer
//neo:proto answer
type
AcceptIdentification
struct
{
type
AcceptIdentification
struct
{
NodeType
NodeType
// XXX name
NodeType
NodeType
// XXX name
(-> MyType)
MyNID
NodeID
MyNID
NodeID
YourNID
NodeID
YourNID
NodeID
}
}
...
...
go/neo/xneo/nodetab.go
View file @
7864d9cb
...
@@ -39,7 +39,7 @@ import (
...
@@ -39,7 +39,7 @@ import (
//
//
// It is
// It is
//
//
// NID -> *Node
// NID -> *Node
; = (.laddr, .state, ...) + .link
//
//
// mapping listing known nodes and associating their node ID with information
// mapping listing known nodes and associating their node ID with information
// about a node.
// about a node.
...
...
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