Packet FindNodeCall

File: src/common/CommonMessages.msg

C++ definition

A basic find node rpc response

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

Name Type Description
BaseCallMessage packet

A basic Remote-Procedure-Call message

Known subclasses:

Name Type Description
ProxFindNodeCall packet

A basic prox find node rpc call

Fields:

Name Type Description
lookupKey OverlayKey

request nextHops for this key

numRedundantNodes int

number of redundant nodes to return

numSiblings int

number of siblings to return

exhaustiveIterative bool

for exhaustive-iterative always request numRedudantNode, even if node is a sibling

nonce unsigned int

nonce to match RPC responses to corresponding calls

srcNode NodeHandle

source node

authBlock AuthBlock[]

optional authentication block containing a signature

type int

message type

statType int

message type for stats

Source code:

//
// 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
}