Module sn_protocol::messages
source · Expand description
Messages types Data messages and their possible responses.
Structs§
- The hash(record_value + nonce) that is used to prove the existence of a chunk
- sha3 256 hash used for Spend Reasons, Transaction hashes, anything hash related in this crate
- A unique identifier for a node in the network, by which we can know their location in the xor space.
Enums§
- Data and CashNote cmds - recording spends or creating, updating, and removing data.
- The Ok variant of a CmdResponse
- The response to a Cmd, containing the query result.
- Data queries - retrieving data and inspecting their structure.
- The response to a query, containing the query result.
- A register cmd that is sent over to the Network
- A request to peers in the network
- A response to peers in the network.
Type Aliases§
- The nonce provided by the verifier