Packet FindNodeResponse

File: src/common/CommonMessages.msg

A basic find node rpc call

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends:

BaseResponseMessage (packet)

A basic Remote-Procedure-Response message

Fields:

Name Type Description
srcNode NodeHandle

source node

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

callHopCount int
type int

message type

siblings bool

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

closestNodes NodeHandle[]

vector of known next hops to the lookup key

ncsInfo double[]

info block for network coordinate systems

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
}