Expand description
Datatypes for the ouisync protocol and for interoperability between the network layer and the storage later
Structs§
- Proof
- Information that prove that a snapshot was created by a replica that has write access to the repository.
- Repository
Id - Root
Node - Storage
Size - Strongly typed storage size.
- Summary
- Summary info of a snapshot subtree. Contains whether the subtree has been completely downloaded and the number of missing blocks in the subtree.
- Untrusted
Proof
Enums§
- Multi
Block Presence - Summary information about the presence of multiple blocks belonging to a subtree.
- Node
State - Single
Block Presence - Information about the presence of a single block.
Constants§
- BLOCK_
RECORD_ SIZE - Size of the block db record in bytes.
- BLOCK_
SIZE - Block size in bytes.