Expand description
Types for creation and utilization of cryptographic commitments to proof-of-sql data.
Structs§
- Backend
Config - Struct to hold configuration values about the chosen backend.
- Column
Commitment Metadata - Anonymous metadata associated with a column commitment.
- Column
Commitments - Commitments for a collection of columns with some metadata.
- Duplicate
Idents - Cannot create commitments with duplicate ident.
- Inner
Product Proof - InnerProductProof construct
- Mixed
Length Columns - Cannot create a
TableCommitment
from columns of mixed length. - Negative
Bounds - Cannot construct bounds where min is greater than max.
- Negative
Range - Cannot create a
TableCommitment
with a negative range. - NumColumns
Mismatch - Cannot update commitment collections with different column counts
- Table
Commitment - Commitment for an entire table, with column and table metadata.
Enums§
- Append
Column Commitments Error - Errors that can occur when attempting to append rows to
ColumnCommitments
. - Append
Table Commitment Error - Errors that can occur when attempting to append rows to a
TableCommitment
. - Bounds
- Minimum and maximum values (inclusive) of a collection of data, with some other variants for edge cases.
- Column
Bounds - Column metadata storing the bounds for column types that have order.
- Column
Commitments Mismatch - During commitment operation, metadata indicates that operand tables cannot be the same.
- Committable
Column - Column data in “committable form”.
- Table
Commitment Arithmetic Error - Errors that can occur when performing arithmetic on
TableCommitment
s. - Table
Commitment From Columns Error - Errors that can occur when trying to create or extend a
TableCommitment
from columns.
Traits§
- Column
Commitment Metadata MapExt - Extension trait intended for
ColumnCommitmentMetadataMap
. - Commitment
- A trait for using commitment schemes generically.
- Commitment
Evaluation Proof - A trait for using commitment schemes generically. Specifically, this trait is for the evaluation proof of a commitment scheme.
- Query
Commitments Ext - A trait for extending the functionality of the
QueryCommitments
alias. - VecCommitment
Ext - Extension trait intended for collections of commitments.
Functions§
- init_
backend - Responsible for initializing the C++ commitment backend.
- init_
backend_ with_ config - Responsible for initializing the C++ commitment backend and producing a specified number of generators.
Type Aliases§
- Column
Commitment Metadata Map - Mapping of column idents to column metadata used to associate metadata with commitments.
- Query
Commitments - The commitments for all of the tables in a query.