P2P Messages

This chapter contains every P2P message.

Index

Types

Types used in multiple P2P messages.

Support Flags

Support flags specify any protocol extensions the peer supports, currently only the first bit is used:

FLUFFY_BLOCKS = 1 - for if the peer supports receiving fluffy blocks.

Basic Node Data

FieldsType (Epee Type)Description
network_idA UUID (String)A fixed constant value for a specific network (mainnet,testnet,stagenet)
my_portu32 (u32)The peer's inbound port, if the peer does not want inbound connections this should be 0
rpc_portu16 (u16)The peer's RPC port, if the peer does not want inbound connections this should be 0
rpc_credits_per_hashu32 (u32)TODO
peer_idu64 (u64)A fixed ID for the node, set to 1 for anonymity networks
support_flagssupport flags (u32)Specifies any protocol extensions the peer supports

Messages

Handshake Requests

levin command: 1001

FieldsType (Epee Type)Description
node_databasic node data (Object)