def METHOD_NAME(self) -> Iterator['BaseTransaction']:
    from hathor.conf import HathorSettings
    settings = HathorSettings()
    soft_voided_ids = set(settings.SOFT_VOIDED_TX_IDS)
    for tx in self._iter_tx:
        assert tx.hash is not None
        # XXX: if we're skipping voided transactions, we have to be careful not to skip soft-voided ones
        if self.skip_voided:
            voided_by = tx.get_metadata().voided_by or set()
            soft_voided_by = voided_by & soft_voided_ids
            if voided_by and not soft_voided_by:
                continue
        yield tx