Expand description
Client-side vote commitment tree.
TreeClient maintains a sparse local copy of the tree for witness generation.
It syncs from a TreeSyncApi source (the server), marks positions of interest,
and generates Merkle authentication paths.
This mirrors how Zcash wallets use ShardTree via WalletCommitmentTrees:
the client receives all leaves (no trial decryption needed since all vote-tree
leaves are public), inserts them, and generates witnesses only for its own
marked positions.
Structs§
- Tree
Client - Client-side sparse vote commitment tree.
Enums§
- Sync
Error - Errors that can occur during
TreeClient::sync.