pub async fn get_output_cache<D: Database>(
txs_verification_data: impl Iterator<Item = &TransactionVerificationData>,
database: D,
) -> Result<OutputCache, ExtendedConsensusError>
Expand description
Retrieves an OutputCache
for the list of transactions.
The OutputCache
will only contain the outputs currently in the blockchain.