Skip to main content

Module avidm_gf2

Module avidm_gf2 

Source
Expand description

This module implements the AVID-M scheme over GF2

Modulesยง

namespaced
Namespaced AvidmGf2 scheme This file implements the namespaced AvidmGf2 scheme.
nested_bytes ๐Ÿ”’
Optimised serialisation of a sequence of Vec<u8>s using serde_bytes.
proofs
Namespace proofs for AvidmGf2 scheme This module implements encoding proofs for the Avid-M Scheme.

Structsยง

AvidmGf2Commit
VID Commitment type
AvidmGf2Param
VID Parameters
AvidmGf2Scheme
Dummy struct for AVID-M scheme over GF2
AvidmGf2Share
VID Share type to be distributed among the parties.

Constantsยง

MAX_EXPANSION ๐Ÿ”’
MAX_TOTAL_WEIGHTS ๐Ÿ”’

Type Aliasesยง

MerkleCommit ๐Ÿ”’
MerkleProof
Membership proof of the VID Merkle tree, one per shard of a share.
MerkleTree ๐Ÿ”’
Merkle tree scheme used in the VID. Uses BLAKE3 directly via Blake3DigestAlgorithm rather than going through the jf_merkle_tree::hasher::HasherDigest blanket impl, which would pin blake3 to a digest 0.10-compatible release line.