aboutsummaryrefslogtreecommitdiff
path: root/test/functional/blockchain.py
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-05-12 15:19:19 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-05-26 13:33:39 -0700
commitc3aa0c11947dfd82702df276d39bb7f748dd83a1 (patch)
tree56b0c561bee4a5fcf9f6c54b85c9d1200569d718 /test/functional/blockchain.py
parentd342424301013ec47dc146a4beb49d5c9319d80a (diff)
Report on-disk size in gettxoutsetinfo
Diffstat (limited to 'test/functional/blockchain.py')
-rwxr-xr-xtest/functional/blockchain.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/blockchain.py b/test/functional/blockchain.py
index b0faea9b38..4bfd3ee677 100755
--- a/test/functional/blockchain.py
+++ b/test/functional/blockchain.py
@@ -50,6 +50,9 @@ class BlockchainTest(BitcoinTestFramework):
assert_equal(res['height'], 200)
assert_equal(res['txouts'], 200)
assert_equal(res['bestblock'], node.getblockhash(200))
+ size = res['disk_size']
+ assert size > 6400
+ assert size < 64000
assert_equal(len(res['bestblock']), 64)
assert_equal(len(res['hash_serialized_2']), 64)