getPresence2 (36)
Finalized
The getPresence2 message is a request sent to a peer to obtain the complete Presence object associated with a specific wallet address.
This is typically used when a node receives a lightweight keepAlivePresence message and needs more information about the node, such as its public key or its full list of associated IP addresses (PresenceAddress entries).
Core Data Types
IxiVarUInt: See IxiVarInt Encoding.IxiBytes: See IxiBytes Encoding.
Payload Structure
| Field | Data Type | Min | Max | Description |
|---|---|---|---|---|
walletAddress | IxiBytes | The wallet address (without checksum) for which the full presence information is being requested. |
Behavioral Notes
- A node sends this message to "hydrate" a partial presence entry into a full one.
- Upon receiving this message, a peer should look up the
walletAddressin its localPresenceList. - If a
Presenceobject is found for the given address, the peer should respond by sending anupdatePresencemessage containing the full, serializedPresenceobject. - If no presence is found, no response is required.