Crate sn_dbc[][src]

Structs

Contains amount and Pedersen Commitment blinding factor which must be kept secret (encrypted) in the DBC.

A Builder for aggregating ReissueShare (Mint::reissue() results) from multiple mint nodes and combining signatures to generate the final Dbc outputs.

Represents a DBC plus some metadata that is useful for transporting DBCs between individuals, but is not necessary for Mint operations. As such, this is a client-only struct that the payment sender would create before passing to the recipient.

The spent identifier of the outputs created from this input Note these are hashes and not identifiers as the Dbc is not addressable on the network. i.e. a Dbc can be stored anywhere, even offline.

Represents a public key and optional secret key, plus a random derivation index.

! Unblinded data for creating sn_dbc::DbcContent

A public key.

A public key and an associated set of public key shares.

Builds a ReissueRequest from a ReissueTransaction and any number of (input) DBC spent proof shares.

A signature.

SpentProof’s are constructed when a DBC is logged to the spentbook.

A share of a SpentProof, combine enough of these to form a SpentProof.

Enums

Node error variants.

Traits

Functions

Type Definitions

Specialisation of std::Result.