Crate kzg
Structs§
- Blob
- A basic blob data.
- Bytes32
- An array of 32 bytes. Represents an untrusted (potentially invalid) field element.
- Bytes48
- An array of 48 bytes. Represents an untrusted (potentially invalid) commitment/proof.
- Cell
- A single cell for a blob.
- KzgCommitment
- A trusted (valid) KZG commitment.
- KzgProof
- A trusted (valid) KZG proof.
- KzgSettings
- Stores the setup and parameters needed for computing KZG proofs.
Enums§
Constants§
- BYTES_
PER_ BLOB - BYTES_
PER_ CELL - BYTES_
PER_ COMMITMENT - BYTES_
PER_ FIELD_ ELEMENT - BYTES_
PER_ PROOF - CELLS_
PER_ EXT_ BLOB - FIELD_
ELEMENTS_ PER_ BLOB - FIELD_
ELEMENTS_ PER_ CELL
Functions§
- ethereum_
kzg_ settings - Returns default Ethereum mainnet KZG settings.
- ethereum_
kzg_ settings_ arc - Returns default Ethereum mainnet KZG settings as an
Arc
.