Module proof_of_sql::base::commitment
source · Expand description
Types for creation and utilization of cryptographic commitments to proof-of-sql data.
Structs§
- Struct to hold configuration values about the chosen backend.
- Anonymous metadata associated with a column commitment.
- Commitments for a collection of columns with some metadata.
- Cannot create commitments with duplicate identifier.
- InnerProductProof construct
- Cannot create a
TableCommitment
from columns of mixed length. - Cannot construct bounds where min is greater than max.
- Cannot create a
TableCommitment
with a negative range. - Cannot update commitment collections with different column counts
- Commitment for an entire table, with column and table metadata.
Enums§
- Errors that can occur when attempting to append rows to ColumnCommitments.
- Errors that can occur when attempting to append rows to a
TableCommitment
. - Minimum and maximum values (inclusive) of a collection of data, with some other variants for edge cases.
- Column metadata storing the bounds for column types that have order.
- During commitment operation, metadata indicates that operand tables cannot be the same.
- Errors that can occur when performing arithmetic on
TableCommitment
s. - Errors that can occur when trying to create or extend a
TableCommitment
from columns.
Traits§
- Extension trait intended for
ColumnCommitmentMetadataMap
. - A trait for using commitment schemes generically.
- A trait for using commitment schemes generically. Specifically, this trait is for the evaluation proof of a commitment scheme.
- A trait for extending the functionality of the
QueryCommitments
alias. - Extension trait intended for collections of commitments.
Functions§
- Responsible for initializing the C++ commitment backend.
- Responsible for initializing the C++ commitment backend and producing a specified number of generators.
Type Aliases§
- Mapping of column identifiers to column metadata used to associate metadata with commitments.
- The commitments for all of the tables in a query.