Skip to main content

Module keyless

Module keyless 

Source
Expand description

Keyless database types and helpers for the sync example.

A keyless database is append-only: operations are stored by location rather than by key. It supports Append(value) and Commit(metadata, floor) operations. For sync, the engine targets the Merkle root over all operations, and the client reconstructs the same state by replaying the fetched operations.

Functions§

create_config
Create a database configuration for the keyless variant.
create_test_operations
Create deterministic test operations for demonstration purposes.

Type Aliases§

Database
Database type alias.
Operation
Operation type alias.