Expand description
HTTP implementation of TreeSyncApi for connecting to a running Zally chain node.
Maps the three trait methods to per-round REST endpoints:
get_tree_state()→GET /shielded-vote/v1/commitment-tree/{round_id}/latestget_root_at_height(h)→GET /shielded-vote/v1/commitment-tree/{round_id}/{h}get_block_commitments()→GET /shielded-vote/v1/commitment-tree/{round_id}/leaves?from_height=X&to_height=Y
Structs§
- Http
Tree Sync Api - HTTP-based implementation of
TreeSyncApifor remote chain sync.
Enums§
- Http
Sync Error - Errors from the HTTP sync API.