From dee12239d2ffcadb2cdd1b35a588a28bba0e4791 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Sun, 17 Jun 2018 18:25:25 -0700 Subject: [PATCH] Litecoin: Branding --- contrib/zmq/zmq_sub.py | 4 ++-- contrib/zmq/zmq_sub3.4.py | 4 ++-- doc/build-windows.md | 2 +- test/functional/feature_help.py | 6 +++--- test/functional/feature_proxy.py | 10 +++++----- test/functional/interface_bitcoin_cli.py | 2 +- test/functional/rpc_bind.py | 2 +- test/functional/test_framework/mininode.py | 4 ++-- test/util/bitcoin-util-test.py | 2 +- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/contrib/zmq/zmq_sub.py b/contrib/zmq/zmq_sub.py index 6e44c56f52..23e6f3befd 100755 --- a/contrib/zmq/zmq_sub.py +++ b/contrib/zmq/zmq_sub.py @@ -6,8 +6,8 @@ """ ZMQ example using python3's asyncio - Bitcoin should be started with the command line arguments: - bitcoind -testnet -daemon \ + Litecoind should be started with the command line arguments: + litecoind -testnet -daemon \ -zmqpubrawtx=tcp://127.0.0.1:28332 \ -zmqpubrawblock=tcp://127.0.0.1:28332 \ -zmqpubhashtx=tcp://127.0.0.1:28332 \ diff --git a/contrib/zmq/zmq_sub3.4.py b/contrib/zmq/zmq_sub3.4.py index 536352d5ff..c3f2868550 100755 --- a/contrib/zmq/zmq_sub3.4.py +++ b/contrib/zmq/zmq_sub3.4.py @@ -6,8 +6,8 @@ """ ZMQ example using python3's asyncio - Bitcoin should be started with the command line arguments: - bitcoind -testnet -daemon \ + Litecoin should be started with the command line arguments: + litecoind -testnet -daemon \ -zmqpubrawtx=tcp://127.0.0.1:28332 \ -zmqpubrawblock=tcp://127.0.0.1:28332 \ -zmqpubhashtx=tcp://127.0.0.1:28332 \ diff --git a/doc/build-windows.md b/doc/build-windows.md index 11af6f5f86..bbd849f5b9 100644 --- a/doc/build-windows.md +++ b/doc/build-windows.md @@ -6,7 +6,7 @@ Below are some notes on how to build Litecoin Core for Windows. The options known to work for building Litecoin Core on Windows are: * On Linux using the [Mingw-w64](https://mingw-w64.org/doku.php) cross compiler tool chain. Ubuntu Bionic 18.04 is required -and is the platform used to build the Bitcoin Core Windows release binaries. +and is the platform used to build the Litecoin Core Windows release binaries. * On Windows using [Windows Subsystem for Linux (WSL)](https://msdn.microsoft.com/commandline/wsl/about) and the Mingw-w64 cross compiler tool chain. diff --git a/test/functional/feature_help.py b/test/functional/feature_help.py index fd4a72f628..09f44fb5df 100755 --- a/test/functional/feature_help.py +++ b/test/functional/feature_help.py @@ -2,7 +2,7 @@ # Copyright (c) 2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -"""Verify that starting bitcoin with -h works as expected.""" +"""Verify that starting litecoin with -h works as expected.""" import subprocess from test_framework.test_framework import BitcoinTestFramework @@ -18,7 +18,7 @@ class HelpTest(BitcoinTestFramework): # Don't start the node def run_test(self): - self.log.info("Start bitcoin with -h for help text") + self.log.info("Start litecoin with -h for help text") self.nodes[0].start(extra_args=['-h'], stderr=subprocess.PIPE, stdout=subprocess.PIPE) # Node should exit immediately and output help to stdout. ret_code = self.nodes[0].process.wait(timeout=1) @@ -28,7 +28,7 @@ class HelpTest(BitcoinTestFramework): self.log.info("Help text received: {} (...)".format(output[0:60])) self.nodes[0].running = False - self.log.info("Start bitcoin with -version for version information") + self.log.info("Start litecoin with -version for version information") self.nodes[0].start(extra_args=['-version'], stderr=subprocess.PIPE, stdout=subprocess.PIPE) # Node should exit immediately and output version to stdout. ret_code = self.nodes[0].process.wait(timeout=1) diff --git a/test/functional/feature_proxy.py b/test/functional/feature_proxy.py index f7e018a885..14f919f1cd 100755 --- a/test/functional/feature_proxy.py +++ b/test/functional/feature_proxy.py @@ -2,13 +2,13 @@ # Copyright (c) 2015-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -"""Test bitcoind with different proxy configuration. +"""Test litecoind with different proxy configuration. Test plan: -- Start bitcoind's with different proxy configurations +- Start litecoind's with different proxy configurations - Use addnode to initiate connections - Verify that proxies are connected to, and the right connection command is given -- Proxy configurations to test on bitcoind side: +- Proxy configurations to test on litecoind side: - `-proxy` (proxy everything) - `-onion` (proxy just onions) - `-proxyrandomize` Circuit randomization @@ -18,8 +18,8 @@ Test plan: - proxy on IPv6 - Create various proxies (as threads) -- Create bitcoinds that connect to them -- Manipulate the bitcoinds using addnode (onetry) an observe effects +- Create litecoinds that connect to them +- Manipulate the litecoinds using addnode (onetry) an observe effects addnode connect to IPv4 addnode connect to IPv6 diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py index e9fb6a376a..f35cadd876 100755 --- a/test/functional/interface_bitcoin_cli.py +++ b/test/functional/interface_bitcoin_cli.py @@ -2,7 +2,7 @@ # Copyright (c) 2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -"""Test bitcoin-cli""" +"""Test litecoin-cli""" from test_framework.test_framework import BitcoinTestFramework from test_framework.util import assert_equal, assert_raises_process_error, get_auth_cookie diff --git a/test/functional/rpc_bind.py b/test/functional/rpc_bind.py index 05433c7e24..407a51f437 100755 --- a/test/functional/rpc_bind.py +++ b/test/functional/rpc_bind.py @@ -2,7 +2,7 @@ # Copyright (c) 2014-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -"""Test running bitcoind with the -rpcbind and -rpcallowip options.""" +"""Test running litecoind with the -rpcbind and -rpcallowip options.""" import socket import sys diff --git a/test/functional/test_framework/mininode.py b/test/functional/test_framework/mininode.py index 8d6fd76e93..b3e92bc042 100755 --- a/test/functional/test_framework/mininode.py +++ b/test/functional/test_framework/mininode.py @@ -4,7 +4,7 @@ # Copyright (c) 2010-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -"""Bitcoin P2P network half-a-node. +"""Litecoin P2P network half-a-node. This python code was modified from ArtForz' public domain half-a-node, as found in the mini-node branch of http://github.com/jgarzik/pynode. @@ -245,7 +245,7 @@ class P2PConnection(asyncore.dispatcher): class P2PInterface(P2PConnection): - """A high-level P2P interface class for communicating with a Bitcoin node. + """A high-level P2P interface class for communicating with a Litecoin node. This class provides high-level callbacks for processing P2P message payloads, as well as convenience methods for interacting with the diff --git a/test/util/bitcoin-util-test.py b/test/util/bitcoin-util-test.py index 64e826ad0b..fad8c5e699 100755 --- a/test/util/bitcoin-util-test.py +++ b/test/util/bitcoin-util-test.py @@ -3,7 +3,7 @@ # Copyright 2016-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -"""Test framework for bitcoin utils. +"""Test framework for litecoin utils. Runs automatically during `make check`.