diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-06-06 11:26:28 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-06-06 11:46:31 +0200 |
commit | 16f6c98fa8ee3f5bf02db470d698b1c4c50fc431 (patch) | |
tree | ee3f279c6730e9b0286eb830c82a4695c57b351d /test/functional | |
parent | 323a46e03414938525712c39c2cb3519d8ab1ada (diff) | |
parent | 8b22af3ee59f48298b5203b9a38549a0d1dfd326 (diff) |
Merge #10426: Replace bytes_serialized with bogosize
8b22af3 Replace bytes_serialized with bogosize (Pieter Wuille)
Tree-SHA512: e70a981bbb977329f9e324c45f9a1346ec9aacfbbad5474e608cdd1f852257502bb7db8003fd578260a609e45d1a9cf87ce96df9c4187d92d50f60a209e232ce
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/blockchain.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/blockchain.py b/test/functional/blockchain.py index 5ada3e629e..6aef6d4489 100755 --- a/test/functional/blockchain.py +++ b/test/functional/blockchain.py @@ -59,6 +59,7 @@ class BlockchainTest(BitcoinTestFramework): assert_equal(res['transactions'], 200) assert_equal(res['height'], 200) assert_equal(res['txouts'], 200) + assert_equal(res['bogosize'], 17000), assert_equal(res['bestblock'], node.getblockhash(200)) size = res['disk_size'] assert size > 6400 @@ -75,6 +76,7 @@ class BlockchainTest(BitcoinTestFramework): assert_equal(res2['total_amount'], Decimal('0')) assert_equal(res2['height'], 0) assert_equal(res2['txouts'], 0) + assert_equal(res2['bogosize'], 0), assert_equal(res2['bestblock'], node.getblockhash(0)) assert_equal(len(res2['hash_serialized_2']), 64) @@ -86,6 +88,7 @@ class BlockchainTest(BitcoinTestFramework): assert_equal(res['transactions'], res3['transactions']) assert_equal(res['height'], res3['height']) assert_equal(res['txouts'], res3['txouts']) + assert_equal(res['bogosize'], res3['bogosize']) assert_equal(res['bestblock'], res3['bestblock']) assert_equal(res['hash_serialized_2'], res3['hash_serialized_2']) |