Expand description
Synchronize state between a server and client.
This library how to use commonware_storage::adb::any::sync to synchronize a client’s commonware_storage::adb::any::Any database to a server’s database.
It includes network protocols, database configuration, and utilities for creating test data.
The sync example showcases how to:
- Create and configure a commonware_storage::adb::any::Any database
- Implement a network-based commonware_storage::adb::any::sync::resolver::Resolver for fetching operations
- Use commonware_storage::adb::any::sync to synchronize the client’s database state with the server’s state
Re-exports§
Modules§
- protocol
- Network protocol definitions for syncing a commonware_storage::adb::any::Any database.
- resolver
- Provides a Resolver implementation that communicates with a remote server to fetch operations and proofs.
Functions§
- crate_
version - Returns the version of the crate.
- create_
adb_ config - Create a database configuration with appropriate partitioning.
- create_
test_ operations - Create deterministic test operations for demonstration purposes.