Skip to main content

Module light_client

Module light_client 

Source

Structsยง

Options ๐Ÿ”’

Functionsยง

bad_param ๐Ÿ”’
block_id_from_req ๐Ÿ”’
build_namespace_proof ๐Ÿ”’
Construct a [NamespaceProof] for the namespace at ns_index of the given block.
chain_too_long ๐Ÿ”’
complete_proof_with_cert2 ๐Ÿ”’
Extend proof from leaf to the leaf directly committed by the earliest stored cert2, adding at most chain_limit leaves.
define_api ๐Ÿ”’
earliest_cert2_height ๐Ÿ”’
The earliest stored cert2 height at or after height. Errors are treated as no cert2: this only chooses between proof strategies, and the chosen path will surface any persistent error.
fetch_block_data_range ๐Ÿ”’
get_header_proof ๐Ÿ”’
get_leaf_proof ๐Ÿ”’
Construct a proof that the requested leaf is finalized.
get_leaf_proof_with_cert2 ๐Ÿ”’
Build a leaf proof for the new protocol using certificate2 finality.
get_leaf_proof_with_finalized_assumption ๐Ÿ”’
get_leaf_proof_with_qc_chain ๐Ÿ”’
get_namespace_proof_range ๐Ÿ”’
Single-namespace version of get_namespaces_proof_range.
get_namespaces_proof_range ๐Ÿ”’
internal ๐Ÿ”’
leaf_from_req ๐Ÿ”’
not_found ๐Ÿ”’
parse_namespaces_param ๐Ÿ”’