From 8b22af3ee59f48298b5203b9a38549a0d1dfd326 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Thu, 18 May 2017 16:29:29 -0700 Subject: Replace bytes_serialized with bogosize --- test/functional/blockchain.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/functional/blockchain.py b/test/functional/blockchain.py index 4bfd3ee677..2a260b6ed3 100755 --- a/test/functional/blockchain.py +++ b/test/functional/blockchain.py @@ -49,6 +49,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 @@ -65,6 +66,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) @@ -76,6 +78,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']) -- cgit v1.2.3