pub trait MintFederationApi {
// Required methods
fn check_blind_nonce_used<'life0, 'async_trait>(
&'life0 self,
blind_nonce: BlindNonce,
) -> Pin<Box<dyn Future<Output = FederationResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn check_note_spent<'life0, 'async_trait>(
&'life0 self,
nonce: Nonce,
) -> Pin<Box<dyn Future<Output = FederationResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn check_blind_nonce_used<'life0, 'async_trait>(
&'life0 self,
blind_nonce: BlindNonce,
) -> Pin<Box<dyn Future<Output = FederationResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn check_blind_nonce_used<'life0, 'async_trait>(
&'life0 self,
blind_nonce: BlindNonce,
) -> Pin<Box<dyn Future<Output = FederationResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if an e-cash note was already issued for the given blind nonce.
Sourcefn check_note_spent<'life0, 'async_trait>(
&'life0 self,
nonce: Nonce,
) -> Pin<Box<dyn Future<Output = FederationResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn check_note_spent<'life0, 'async_trait>(
&'life0 self,
nonce: Nonce,
) -> Pin<Box<dyn Future<Output = FederationResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if an e-cash note was already spent.