mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
more measurements
This commit is contained in:
parent
5b127e1e76
commit
2350ec1564
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user