Packet FindNodeResponse

File: src/common/CommonMessages.msg

C++ definition

A basic find node rpc call

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
BaseResponseMessage packet

A basic Remote-Procedure-Response message

Known subclasses:

Name Type Description
ProxFindNodeResponse packet

A basic prox find node rpc response

Fields:

Name Type Description
siblings bool

the closestNodes[] vector contains all sibling for the lookup key

closestNodes NodeHandle[]

vector of known next hops to the lookup key

callHopCount int
ncsInfo double[]

info block for network coordinate systems

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 call
//
packet FindNodeResponse extends BaseResponseMessage
{
    // the closestNodes[] vector contains all sibling for the lookup key
    bool siblings;
    NodeHandle closestNodes[];  // vector of known next hops to the lookup key
}