Commit 7864d9cb authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8e974dd9
...@@ -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
} }
......
...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment