Expand description
Client-side state used to implement light client fetching and verification.
Structsยง
- Genesis
- Initial state for a
LightClient. - Light
Client - Client-side state required to implement the light client interface.
- Light
Client Options
Enumsยง
- Cache
Leaves ๐ - Whether a range fetch writes the leaves it chains to a proven leaf into the cache.
Constantsยง
- MAX_
FINALIZED_ ๐HINT_ DISTANCE - Maximum distance between a requested leaf and the
finalizedhint sent to the server. Servers reject or ignore distant hints; beyond this we omit the hint and verify against a quorum.
Functionsยง
- header_
matches_ ๐id - leaf_
matches_ ๐id - stake_
table_ ๐state_ to_ quorum