Crate kitsune_p2p_bin_data

Crate kitsune_p2p_bin_data 

Source
Expand description

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

Modules§

dependencies

Structs§

KitsuneAgent
Distinguish multiple agents within the same network module.
KitsuneBasis
The basis hash/coordinate when identifying a neighborhood.
KitsuneOpData
The op data with its location
KitsuneOpHash
Top-level “KitsuneDataHash” items are buckets of related meta-data. These metadata “Operations” each also have unique OpHashes.
KitsuneSignature
A cryptographic signature.
KitsuneSpace
Distinguish multiple categories of communication within the same network module.
NodeCert
A 32 byte cert identifying a peer

Traits§

KitsuneBinType
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”.

Type Aliases§

KOp
Convenience type