'Liquidates transactions from invalid blocks so they can be processed again'

def requeue_transactions(self, invalid_block):

    logger.info('Rewriting    %s    transactions    from    invalid    block    %s', len(invalid_block.transactions), invalid_block.id)
    for tx in invalid_block.transactions:
        self.bigchain.write_transaction(tx)
    return invalid_block
