snowbridge_beacon_primitives
0.2.0
Module merkle_proof
Functions
In crate snowbridge_beacon_primitives
Module
snowbridge_beacon_primitives
::
merkle_proof
Copy item path
source
·
[
−
]
Functions
§
generalized_index_length
Spec:
https://github.com/ethereum/consensus-specs/blob/fe9c1a8cbf0c2da8a4f349efdcd77dd7ac8445c4/ssz/merkle-proofs.md#get_generalized_index_length
subtree_index
Spec:
https://github.com/ethereum/consensus-specs/blob/fe9c1a8cbf0c2da8a4f349efdcd77dd7ac8445c4/specs/altair/light-client/sync-protocol.md#get_subtree_index
verify_merkle_branch
Specified by
https://github.com/ethereum/consensus-specs/blob/fe9c1a8cbf0c2da8a4f349efdcd77dd7ac8445c4/specs/phase0/beacon-chain.md?plain=1#L742
with improvements from
https://github.com/ethereum/consensus-specs/blob/dev/ssz/merkle-proofs.md