From c8f3c7916776b7fcccdd1ee667a69890db735dee Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 16 Oct 2016 09:08:38 +0900 Subject: [PATCH] Memory views for blocks don't seem to help --- server/db.py | 6 ++---- server/server.py | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/server/db.py b/server/db.py index 85e2231..3a5dae7 100644 --- a/server/db.py +++ b/server/db.py @@ -128,9 +128,7 @@ class UTXOCache(object): # self.logger.info('duplicate tx hash {}' # .format(bytes(reversed(tx_hash)).hex())) - # b''.join avoids this: https://bugs.python.org/issue13298 - self.cache[key] = b''.join( - (hash168, tx_numb, pack('