From: ThomasV Date: Thu, 14 Jun 2012 13:57:44 +0000 (+0400) Subject: raise limit to 500; send address in error X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=commitdiff_plain;h=d53ca298929023851414a03abf17da3ff6380726 raise limit to 500; send address in error --- diff --git a/backends/abe/__init__.py b/backends/abe/__init__.py index f5aa906..4b94e86 100644 --- a/backends/abe/__init__.py +++ b/backends/abe/__init__.py @@ -10,7 +10,7 @@ from Queue import Queue import time, threading -SQL_LIMIT=200 +SQL_LIMIT=500 class AbeStore(Datastore_class): @@ -456,14 +456,16 @@ class BlockchainProcessor(Processor): result = self.store.get_status(address) self.watch_address(address) except BaseException, e: - error = str(e) + error = str(e) + ': ' + address + print "error:", error elif method == 'blockchain.address.get_history': try: address = params[0] result = self.store.get_history( address ) except BaseException, e: - error = str(e) + error = str(e) + ': ' + address + print "error:", error elif method == 'blockchain.transaction.broadcast': txo = self.store.send_tx(params[0])