diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-05-18 16:29:29 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2017-06-05 12:43:45 -0700 |
commit | 8b22af3ee59f48298b5203b9a38549a0d1dfd326 (patch) | |
tree | f336f8506aa55d37d7ac28936f3cc2ab8a9ce339 /test/functional | |
parent | 7cc2c670e3d7cf26454ac8547a94ec2c8ca90b34 (diff) | |
download | bitcoin-8b22af3ee59f48298b5203b9a38549a0d1dfd326.tar.xz |
Replace bytes_serialized with bogosize
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 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']) |