cuprate_consensus::transactions::contextual_data

Function batch_get_ring_member_info

Source
pub async fn batch_get_ring_member_info<D: Database>(
    txs_verification_data: impl Iterator<Item = &Arc<TransactionVerificationData>> + Clone,
    hf: HardFork,
    database: D,
) -> Result<Vec<TxRingMembersInfo>, ExtendedConsensusError>
Expand description

Retrieves the TxRingMembersInfo for the inputted TransactionVerificationData.

This function batch gets all the ring members for the inputted transactions and fills in data about them.