From 2350ec156402ad3c479c73d47c05877045bae65d Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 17 Feb 2016 16:09:08 +0100 Subject: [PATCH] more measurements --- bigchaindb/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigchaindb/core.py b/bigchaindb/core.py index fda96240..9981eaf2 100644 --- a/bigchaindb/core.py +++ b/bigchaindb/core.py @@ -395,7 +395,6 @@ class Bigchain(object): exceptions.InvalidHash, exceptions.InvalidSignature): return False - @c.timer('create_block') def create_block(self, validated_transactions): """Creates a block given a list of `validated_transactions`. @@ -476,6 +475,7 @@ class Bigchain(object): except Exception: return False + @c.timer('write_block') def write_block(self, block, durability='soft'): """Write a block to bigchain.