'return position, even if the tx is unverified'

def get_txpos(self, tx_hash):

    with self.lock:
        x = self.verified_tx.get(tx_hash)
        y = self.unverified_tx.get(tx_hash)
        if x:
            (height, timestamp, pos) = x
            return (height, pos)
        elif (y > 0):
            return (y, 0)
        else:
            return ((1000000000000.0 - y), 0)
