'Monitor an incoming transaction with a specific ID.'

def monitor_transaction(self, transaction_id):

    def on_transaction_done():
        self.transaction_history.append({'id': transaction_id, 'outgoing': True, 'from': '', 'to': self.address, 'amount': float(str(transaction_id)), 'fee_amount': 0.0, 'currency': self.get_identifier(), 'timestamp': '', 'description': ''})
        self.balance += float(str(transaction_id))
    if (self.MONITOR_DELAY == 0):
        return succeed(None).addCallback((lambda _: on_transaction_done()))
    else:
        return deferLater(reactor, self.MONITOR_DELAY, on_transaction_done)
