You are here

Where can one read about the protocol specification between Gnunet nodes?

I realize the RPC inter-node protocol is still rough and subject to change without notice, but is there anywhere I can read about what the protocol between gnunet nodes actually looks like?

The RPC protocol is usually specific for each subsystem. The basic message format is that all messages start with a 'struct GNUNET_MessageHeader' which gives the type and total size of the message. In all cases, the client must begin the interaction.

The detailed message formats are then specified in a header (hopefully with extensive comments). Those headers live within the subsystem and should be named after it. Thus the FS RPC is in src/fs/fs.h, the ARM RPC in src/arm/arm.h, the MESH RPC in src/mesh/mesh.h, and so on.