tminor - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit cdd6bbea6f1b1a9c3807c7db267bc4afbac8a63b DIR parent e1c72d1356b85910ff6b46af8233e001c1ac2e2f HTML Author: root <root@www.(none)> Date: Thu, 10 Nov 2011 23:02:47 +0300 minor Diffstat: M server/server.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) --- DIR diff --git a/server/server.py b/server/server.py t@@ -289,7 +289,7 @@ def listen_thread(store): def client_thread(ipaddr,conn): - print "client thread", ipaddr + #print "client thread", ipaddr try: ipaddr = ipaddr[0] msg = '' t@@ -299,7 +299,7 @@ def client_thread(ipaddr,conn): if d[-1]=='#': break - print msg + #print msg try: cmd, data = ast.literal_eval(msg[:-1]) t@@ -314,7 +314,7 @@ def client_thread(ipaddr,conn): elif cmd=='session': import random, string session_id = ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(10)) - print "new session", ipaddr, session_id + print "new session", ipaddr, session_id, data addresses = ast.literal_eval(data) sessions[session_id] = {} t@@ -383,7 +383,7 @@ def memorypool_update(store): pass else: store.import_tx(tx, False) - print tx['hash'][::-1].encode('hex') + #print tx['hash'][::-1].encode('hex') store.commit() import traceback t@@ -398,6 +398,8 @@ if __name__ == '__main__': store = MyStore(args) thread.start_new_thread(listen_thread, (store,)) + #listen_thread(store) + #exit(0) while True: try: