P2PNS Register RPC Call
Author: Ingmar Baumgart
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
Name | Type | Description |
---|---|---|
BaseCallMessage | packet |
A basic Remote-Procedure-Call message |
Name | Type | Description |
---|---|---|
p2pName | BinaryValue |
the name to register |
kind | uint32_t |
the kind of the stored data item |
id | uint32_t |
the id of the stored data item |
address | BinaryValue |
the current address of the name |
ttl | int |
time to life |
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 |
// // P2PNS Register RPC Call // // @author Ingmar Baumgart // packet P2pnsRegisterCall extends BaseCallMessage { BinaryValue p2pName; // the name to register uint32_t kind = 1; // the kind of the stored data item uint32_t id = 1; // the id of the stored data item BinaryValue address; // the current address of the name int ttl; // time to life }