We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a2c092 commit 1ae4501Copy full SHA for 1ae4501
testground/benchmark/benchmark/stats.py
@@ -26,7 +26,8 @@ def dump_block_stats(fp):
26
tps_list = []
27
current = block_height()
28
blocks = []
29
- for i in range(1, current + 1):
+ # skip block 1 whose timestamp is not accurate
30
+ for i in range(2, current + 1):
31
blk = block(i)
32
timestamp = datetime.fromisoformat(blk["result"]["block"]["header"]["time"])
33
txs = len(blk["result"]["block"]["data"]["txs"])
0 commit comments