Skip to main content

Module sync_api

Module sync_api 

Source
Expand description

Communication boundary between server and client.

The TreeSyncApi trait defines the contract for fetching tree data. In the POC: in-process trait object. In production: maps to Cosmos SDK gRPC/REST endpoints.

Structs§

BlockCommitments
Response from get_block_commitments: leaves appended in a single block.
TreeState
Current state of the server tree.

Traits§

TreeSyncApi
The contract between server and client.