SignaturesTransaction

Trait SignaturesTransaction 

Source
pub trait SignaturesTransaction<'a> {
    type Err: Into<Error> + From<Error>;

    // Required methods
    fn add_blind_signatures<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        blinded_messages: &'life1 [PublicKey],
        blind_signatures: &'life2 [BlindSignature],
        quote_id: Option<Uuid>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn get_blind_signatures<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        blinded_messages: &'life1 [PublicKey],
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Option<BlindSignature>>, Self::Err>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Mint Signatures Transaction trait

Required Associated Types§

Source

type Err: Into<Error> + From<Error>

Mint Signature Database Error

Required Methods§

Source

fn add_blind_signatures<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, blinded_messages: &'life1 [PublicKey], blind_signatures: &'life2 [BlindSignature], quote_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn get_blind_signatures<'life0, 'life1, 'async_trait>( &'life0 mut self, blinded_messages: &'life1 [PublicKey], ) -> Pin<Box<dyn Future<Output = Result<Vec<Option<BlindSignature>>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§