package octez-libs
type public_parameters = {
max_polynomial_length : int;
shard_length : int;
srs_g1 : Kzg.Bls.Srs_g1.t;
number_of_shards : int;
}
val preprocess_encoding : preprocess Data_encoding.t
type shard_proof = Bls.G1.t
val preprocess_equal : preprocess -> preprocess -> bool
val commit : public_parameters -> Kzg.Bls.Poly.t -> Commitment.Single.t
val preprocess_multiple_multi_reveals : public_parameters -> preprocess
val multiple_multi_reveals :
public_parameters ->
preprocess:preprocess ->
coefficients:Octez_bls12_381_polynomial.scalar array ->
shard_proof array
val verify :
public_parameters ->
commitment:Commitment.Single.t ->
srs_point:Bls.G2.t ->
domain:Bls.Domain.t ->
root:Octez_bls12_381_polynomial.scalar ->
evaluations:Octez_bls12_381_polynomial.scalar array ->
proof:shard_proof ->
bool
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>