pub fn prune_all_signed_blocks<'a>(
        &self,
        mut public_keys: impl Iterator<Item = &'a PublicKeyBytes>,
        new_min_slot: Slot,
    ) -> Result<(), NotSafe> {
        let mut conn = self.conn_pool.get()?;
        let txn = conn.transaction()?;
        public_keys.try_for_each(|pubkey| self.prune_signed_blocks(pubkey, new_min_slot, &txn))?;
        txn.commit()?;
        Ok(())
    }
/// Prune the signed blocks table for the given public keys.
Prune the signed blocks table for the given public keys.
Prune the signed blocks table for the given public keys .
pub fn prune_all_signed_blocks<'a>(
        &self,
        mut public_keys: impl Iterator<Item = &'a PublicKeyBytes>,
        new_min_slot: Slot,
    ) -> Result<(), NotSafe> {
        let mut conn = self.conn_pool.get()?;
        let txn = conn.transaction()?;
        public_keys.try_for_each(|pubkey| self.prune_signed_blocks(pubkey, new_min_slot, &txn))?;
        txn.commit()?;
        Ok(())
    }
pub fn prune_all_signed_blocks < ' a > ( & self , mut public_keys : impl Iterator < Item = & ' a PublicKeyBytes > , new_min_slot : Slot , ) -> Result < ( ) , NotSafe > { let mut conn = self . conn_pool . get ( ) ? ; let txn = conn . transaction ( ) ? ; public_keys . try_for_each ( | pubkey | self . prune_signed_blocks ( pubkey , new_min_slot , & txn ) ) ? ; txn . commit ( ) ? ; Ok ( ( ) ) }
Prune the signed blocks table for the given public keys.
Prune the signed blocks table for the given public keys .
&self
public_keys
impl Iterator<Item = &'a PublicKeyBytes>
new_min_slot
Slot