Skip to content

Commit ffdab41

Browse files
committed
Merge bitcoin/bitcoin#23474: test: scripted-diff cleanups after generate* changes
fac23c2 scripted-diff: Bump copyright headers (MarcoFalke) fa974f1 scripted-diff: Remove redundant sync_all and sync_blocks (MarcoFalke) fad1399 test: Properly set sync_fun in NodeNetworkLimitedTest (MarcoFalke) faeff57 test: Use 4 spaces for indentation (MarcoFalke) Pull request description: Some cleanups after commit 94db963 ACKs for top commit: fanquake: ACK fac23c2 Tree-SHA512: 5acfd5bb9679b41969d0fc6fc85801ccadcd6530ea692bac6352668e06fc7a9b0e1db3fd6fba435e84afe983d2eb07bd0a47c8364462bb7110004bd3d102b698
2 parents 0475a23 + fac23c2 commit ffdab41

File tree

178 files changed

+179
-340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+179
-340
lines changed

test/functional/combine_logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2017-2019 The Bitcoin Core developers
2+
# Copyright (c) 2017-2021 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Combine logs from multiple bitcoin nodes as well as the test_framework log.

test/functional/data/invalid_txs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2015-2020 The Bitcoin Core developers
2+
# Copyright (c) 2015-2021 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""

test/functional/example_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2017-2020 The Bitcoin Core developers
2+
# Copyright (c) 2017-2021 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""An example functional test

test/functional/feature_abortnode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2019-2020 The Bitcoin Core developers
2+
# Copyright (c) 2019-2021 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Test bitcoind aborts if can't disconnect a block.

test/functional/feature_anchors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2020 The Bitcoin Core developers
2+
# Copyright (c) 2020-2021 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Test block-relay-only anchors functionality"""

test/functional/feature_asmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2020 The Bitcoin Core developers
2+
# Copyright (c) 2020-2021 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Test asmap config argument for ASN-based IP bucketing.

test/functional/feature_assumevalid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2014-2020 The Bitcoin Core developers
2+
# Copyright (c) 2014-2021 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Test logic for skipping signature validation on old blocks.

test/functional/feature_backwards_compatibility.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2018-2020 The Bitcoin Core developers
2+
# Copyright (c) 2018-2021 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Backwards compatibility functional test
@@ -66,8 +66,6 @@ def setup_nodes(self):
6666
def run_test(self):
6767
self.generatetoaddress(self.nodes[0], COINBASE_MATURITY + 1, self.nodes[0].getnewaddress())
6868

69-
self.sync_blocks()
70-
7169
# Sanity check the test framework:
7270
res = self.nodes[self.num_nodes - 1].getblockchaininfo()
7371
assert_equal(res['blocks'], COINBASE_MATURITY + 1)
@@ -93,15 +91,13 @@ def run_test(self):
9391
self.nodes[0].sendtoaddress(address, 10)
9492
self.sync_mempools()
9593
self.generate(self.nodes[0], 1)
96-
self.sync_blocks()
9794
# Create a conflicting transaction using RBF
9895
return_address = self.nodes[0].getnewaddress()
9996
tx1_id = self.nodes[1].sendtoaddress(return_address, 1)
10097
tx2_id = self.nodes[1].bumpfee(tx1_id)["txid"]
10198
# Confirm the transaction
10299
self.sync_mempools()
103100
self.generate(self.nodes[0], 1)
104-
self.sync_blocks()
105101
# Create another conflicting transaction using RBF
106102
tx3_id = self.nodes[1].sendtoaddress(return_address, 1)
107103
tx4_id = self.nodes[1].bumpfee(tx3_id)["txid"]

test/functional/feature_bind_extra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2014-2021 The Bitcoin Core developers
2+
# Copyright (c) 2014-2020 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""

test/functional/feature_bip68_sequence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2014-2020 The Bitcoin Core developers
2+
# Copyright (c) 2014-2021 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Test BIP68 implementation."""

0 commit comments

Comments
 (0)