Re-exports
Modules
This is a helper module to make it a bit easier and regular for API callers to instantiate an Rng when calling sn_dbc methods that require them.
Structs
AmountSecrets wraps bls_ringct::RevealedCommitment to provide some methods for ergonomic usage, eg: decrypting from Ciphertext using various blsttc components, eg SecretKey, SecretKeyShare, SecretKeySet, DecryptionShare
Represents a Digital Bearer Certificate (Dbc).
A Builder for aggregating SpentProofs and generating the final Dbc outputs.
represents all the inputs required to build the Genesis Dbc.
Represents a one-time-use Owner key(pair).
A public key.
A public key and an associated set of public key shares.
A signature.
SpentProof’s are constructed when a DBC is logged to the spentbook.
Represents the data to be signed by the SpentBook in a SpentProof.
A share of a SpentProof, combine enough of these to form a SpentProof.
A builder to create a RingCt transaction from inputs and outputs.
Enums
Traits
Type Definitions
Represents a Dbc’s value.
a BlindingFactor
a Commitment
A KeyImage can be thought of as a specific type of public key. blsttc::PublicKey is a newtype wrapper around blstrs::G1Affine. We use PublicKey because it impls Hash and Ord traits that are useful for storing the KeyImage in a map.
Specialisation of std::Result
.