A basic find node rpc response
The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram.
BaseCallMessage (packet) |
A basic Remote-Procedure-Call message |
Name | Type | Description |
---|---|---|
srcNode | NodeHandle |
source node |
exhaustiveIterative | bool |
for exhaustive-iterative always request numRedudantNode, even if node is a sibling |
numSiblings | int |
number of siblings to return |
statType | int |
message type for stats |
authBlock | AuthBlock[] |
optional authentication block containing a signature |
nonce | unsigned int |
nonce to match RPC responses to corresponding calls |
numRedundantNodes | int |
number of redundant nodes to return |
lookupKey | OverlayKey |
request nextHops for this key |
type | int |
message type |
// // A basic find node rpc response // packet FindNodeCall extends BaseCallMessage { OverlayKey lookupKey; // request nextHops for this key int numRedundantNodes; // number of redundant nodes to return int numSiblings; // number of siblings to return bool exhaustiveIterative = false; // for exhaustive-iterative always request numRedudantNode, even if node is a sibling }