From d53ca298929023851414a03abf17da3ff6380726 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 14 Jun 2012 17:57:44 +0400 Subject: [PATCH] raise limit to 500; send address in error --- backends/abe/__init__.py | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) 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]) -- 1.7.1