From 96483e2551041793360202f57992a673936bb4cc Mon Sep 17 00:00:00 2001 From: chromatic Date: Wed, 30 Aug 2023 16:28:02 -0700 Subject: [PATCH] Change Bitcoin to Dogecoin in QA output strings --- qa/rpc-tests/test_framework/authproxy.py | 2 +- qa/rpc-tests/test_framework/mininode.py | 4 ++-- qa/rpc-tests/test_framework/test_framework.py | 2 +- qa/rpc-tests/test_framework/util.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qa/rpc-tests/test_framework/authproxy.py b/qa/rpc-tests/test_framework/authproxy.py index 09ed611299..79c08c19c5 100644 --- a/qa/rpc-tests/test_framework/authproxy.py +++ b/qa/rpc-tests/test_framework/authproxy.py @@ -52,7 +52,7 @@ HTTP_TIMEOUT = 30 -log = logging.getLogger("BitcoinRPC") +log = logging.getLogger("DogecoinRPC") class JSONRPCException(Exception): def __init__(self, rpc_error): diff --git a/qa/rpc-tests/test_framework/mininode.py b/qa/rpc-tests/test_framework/mininode.py index 5735941918..94d9d65d52 100755 --- a/qa/rpc-tests/test_framework/mininode.py +++ b/qa/rpc-tests/test_framework/mininode.py @@ -2,7 +2,7 @@ # Copyright (c) 2010 ArtForz -- public domain half-a-node # Copyright (c) 2012 Jeff Garzik # Copyright (c) 2010-2016 The Bitcoin Core developers -# Copyright (c) 2022 The Dogecoin Core developers +# Copyright (c) 2022-2023 The Dogecoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -1667,7 +1667,7 @@ def __init__(self, dstaddr, dstport, rpc, callback, net="regtest", services=NODE vt.addrFrom.port = 0 self.send_message(vt, True) - print('MiniNode: Connecting to Bitcoin Node IP # ' + dstaddr + ':' \ + print('MiniNode: Connecting to Dogecoin Node IP # ' + dstaddr + ':' \ + str(dstport)) try: diff --git a/qa/rpc-tests/test_framework/test_framework.py b/qa/rpc-tests/test_framework/test_framework.py index 7dd368130f..f29c6a1145 100755 --- a/qa/rpc-tests/test_framework/test_framework.py +++ b/qa/rpc-tests/test_framework/test_framework.py @@ -108,7 +108,7 @@ def main(self): parser.add_option("--noshutdown", dest="noshutdown", default=False, action="store_true", help="Don't stop dogecoinds after the test execution") parser.add_option("--srcdir", dest="srcdir", default=os.path.normpath(os.path.dirname(os.path.realpath(__file__))+"/../../../src"), - help="Source directory containing dogecoind/bitcoin-cli (default: %default)") + help="Source directory containing dogecoind/dogecoin-cli (default: %default)") parser.add_option("--cachedir", dest="cachedir", default=os.path.normpath(os.path.dirname(os.path.realpath(__file__))+"/../../cache"), help="Directory for caching pregenerated datadirs") parser.add_option("--tmpdir", dest="tmpdir", default=tempfile.mkdtemp(prefix="test"), diff --git a/qa/rpc-tests/test_framework/util.py b/qa/rpc-tests/test_framework/util.py index 0c6f43dbf8..56ac27061e 100644 --- a/qa/rpc-tests/test_framework/util.py +++ b/qa/rpc-tests/test_framework/util.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # Copyright (c) 2014-2016 The Bitcoin Core developers -# Copyright (c) 2021 The Dogecoin Core developers +# Copyright (c) 2021-2023 The Dogecoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -215,7 +215,7 @@ def wait_for_bitcoind_start(process, url, i): ''' while True: if process.poll() is not None: - raise Exception('bitcoind exited with status %i during initialization' % process.returncode) + raise Exception('dogecoind exited with status %i during initialization' % process.returncode) try: rpc = get_rpc_proxy(url, i) blocks = rpc.getblockcount()