From a25489296b072843e9d87d0345b2cb5024caf7b1 Mon Sep 17 00:00:00 2001 From: Alan Penner Date: Wed, 22 Jan 2014 11:10:07 -0800 Subject: [PATCH] debugging submitblock output --- mining/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mining/__init__.py b/mining/__init__.py index 9544e3a..49fbca1 100644 --- a/mining/__init__.py +++ b/mining/__init__.py @@ -124,6 +124,10 @@ def setup(on_startup): prune_thr.start() log.info("MINING SERVICE IS READY") + + hash_hex = "00000000a6f9d7a5d6600cc0d17e1b48e39b457c3edbbb42452a5284e4b4ce24" + Interfaces.template_registry.bitcoin_rpc.conns[0].blockexists(hash_hex) + on_startup.callback(True)