Skip to content

Commit 56bf302

Browse files
committed
refactor: rename rpc_getorphantxs to rpc_orphans
Generalizes the test to accommodate additional orphan-related RPCs
1 parent 7824f6b commit 56bf302

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/functional/rpc_getorphantxs.py renamed to test/functional/rpc_orphans.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (c) 2014-2024 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.
5-
"""Test the getorphantxs RPC."""
5+
"""Tests for orphan related RPCs."""
66

77
from test_framework.mempool_util import tx_in_orphanage
88
from test_framework.messages import msg_tx
@@ -15,7 +15,7 @@
1515
from test_framework.wallet import MiniWallet
1616

1717

18-
class GetOrphanTxsTest(BitcoinTestFramework):
18+
class OrphanRPCsTest(BitcoinTestFramework):
1919
def set_test_params(self):
2020
self.num_nodes = 1
2121

@@ -138,4 +138,4 @@ def test_misc(self):
138138

139139

140140
if __name__ == '__main__':
141-
GetOrphanTxsTest(__file__).main()
141+
OrphanRPCsTest(__file__).main()

test/functional/test_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
'wallet_importmulti.py --legacy-wallet',
161161
'mempool_limit.py',
162162
'rpc_txoutproof.py',
163-
'rpc_getorphantxs.py',
163+
'rpc_orphans.py',
164164
'wallet_listreceivedby.py --legacy-wallet',
165165
'wallet_listreceivedby.py --descriptors',
166166
'wallet_abandonconflict.py --legacy-wallet',

0 commit comments

Comments
 (0)