Trait MintV2ModuleApi
Source pub trait MintV2ModuleApi {
// Required methods
fn fetch_signature_shares<'life0, 'async_trait>(
&'life0 self,
range: OutPointRange,
issuance_requests: Vec<NoteIssuanceRequest>,
tbs_pks: BTreeMap<Denomination, BTreeMap<PeerId, PublicKeyShare>>,
) -> Pin<Box<dyn Future<Output = BTreeMap<PeerId, Vec<BlindedSignatureShare>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_signature_shares_recovery<'life0, 'async_trait>(
&'life0 self,
issuance_requests: Vec<NoteIssuanceRequest>,
tbs_pks: BTreeMap<Denomination, BTreeMap<PeerId, PublicKeyShare>>,
) -> Pin<Box<dyn Future<Output = BTreeMap<PeerId, Vec<BlindedSignatureShare>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_recovery_count<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_recovery_slice_hash<'life0, 'async_trait>(
&'life0 self,
start: u64,
end: u64,
) -> Pin<Box<dyn Future<Output = Hash> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_recovery_slice<'life0, 'async_trait>(
&'life0 self,
peer: PeerId,
timeout: Duration,
start: u64,
end: u64,
) -> Pin<Box<dyn Future<Output = Result<Vec<RecoveryItem>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}