pub async fn batch_get_decoy_info<'a, D: Database>(
txs_verification_data: impl Iterator<Item = &'a TransactionVerificationData> + Clone,
hf: HardFork,
database: D,
) -> Result<impl Iterator<Item = Result<DecoyInfo, ConsensusError>> + Captures<&'a ()>, ExtendedConsensusError>
Expand description
Refreshes the transactions TxRingMembersInfo
, if needed.
ยงPanics
This functions panics if hf == HardFork::V1
as decoy info
should not be needed for V1.