Module kitsune_p2p_types::bin_types[][src]

Expand description

Binary types, hashes, signatures, etc used by kitsune.

Structs

Distinguish multiple agents within the same network module.

The basis hash/coordinate when identifying a neighborhood.

Top-level “KitsuneDataHash” items are buckets of related meta-data. These metadata “Operations” each also have unique OpHashes.

A cryptographic signature.

Distinguish multiple categories of communication within the same network module.

Traits

Kitsune hashes are expected to be 36 bytes. The first 32 bytes are the proper hash. The final 4 bytes are a hash-of-the-hash that can be treated like a u32 “location”.