mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-12 16:17:53 +00:00
Litecoin: Branding
This commit is contained in:
parent
67f7fbf9f5
commit
dee12239d2
@ -6,8 +6,8 @@
|
|||||||
"""
|
"""
|
||||||
ZMQ example using python3's asyncio
|
ZMQ example using python3's asyncio
|
||||||
|
|
||||||
Bitcoin should be started with the command line arguments:
|
Litecoind should be started with the command line arguments:
|
||||||
bitcoind -testnet -daemon \
|
litecoind -testnet -daemon \
|
||||||
-zmqpubrawtx=tcp://127.0.0.1:28332 \
|
-zmqpubrawtx=tcp://127.0.0.1:28332 \
|
||||||
-zmqpubrawblock=tcp://127.0.0.1:28332 \
|
-zmqpubrawblock=tcp://127.0.0.1:28332 \
|
||||||
-zmqpubhashtx=tcp://127.0.0.1:28332 \
|
-zmqpubhashtx=tcp://127.0.0.1:28332 \
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
"""
|
"""
|
||||||
ZMQ example using python3's asyncio
|
ZMQ example using python3's asyncio
|
||||||
|
|
||||||
Bitcoin should be started with the command line arguments:
|
Litecoin should be started with the command line arguments:
|
||||||
bitcoind -testnet -daemon \
|
litecoind -testnet -daemon \
|
||||||
-zmqpubrawtx=tcp://127.0.0.1:28332 \
|
-zmqpubrawtx=tcp://127.0.0.1:28332 \
|
||||||
-zmqpubrawblock=tcp://127.0.0.1:28332 \
|
-zmqpubrawblock=tcp://127.0.0.1:28332 \
|
||||||
-zmqpubhashtx=tcp://127.0.0.1:28332 \
|
-zmqpubhashtx=tcp://127.0.0.1:28332 \
|
||||||
|
@ -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:
|
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
|
* 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
|
* On Windows using [Windows
|
||||||
Subsystem for Linux (WSL)](https://msdn.microsoft.com/commandline/wsl/about) and the Mingw-w64 cross compiler tool chain.
|
Subsystem for Linux (WSL)](https://msdn.microsoft.com/commandline/wsl/about) and the Mingw-w64 cross compiler tool chain.
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Copyright (c) 2018 The Bitcoin Core developers
|
# Copyright (c) 2018 The Bitcoin Core developers
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Distributed under the MIT software license, see the accompanying
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# 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
|
import subprocess
|
||||||
|
|
||||||
from test_framework.test_framework import BitcoinTestFramework
|
from test_framework.test_framework import BitcoinTestFramework
|
||||||
@ -18,7 +18,7 @@ class HelpTest(BitcoinTestFramework):
|
|||||||
# Don't start the node
|
# Don't start the node
|
||||||
|
|
||||||
def run_test(self):
|
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)
|
self.nodes[0].start(extra_args=['-h'], stderr=subprocess.PIPE, stdout=subprocess.PIPE)
|
||||||
# Node should exit immediately and output help to stdout.
|
# Node should exit immediately and output help to stdout.
|
||||||
ret_code = self.nodes[0].process.wait(timeout=1)
|
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.log.info("Help text received: {} (...)".format(output[0:60]))
|
||||||
self.nodes[0].running = False
|
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)
|
self.nodes[0].start(extra_args=['-version'], stderr=subprocess.PIPE, stdout=subprocess.PIPE)
|
||||||
# Node should exit immediately and output version to stdout.
|
# Node should exit immediately and output version to stdout.
|
||||||
ret_code = self.nodes[0].process.wait(timeout=1)
|
ret_code = self.nodes[0].process.wait(timeout=1)
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
# Copyright (c) 2015-2017 The Bitcoin Core developers
|
# Copyright (c) 2015-2017 The Bitcoin Core developers
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Distributed under the MIT software license, see the accompanying
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# 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:
|
Test plan:
|
||||||
- Start bitcoind's with different proxy configurations
|
- Start litecoind's with different proxy configurations
|
||||||
- Use addnode to initiate connections
|
- Use addnode to initiate connections
|
||||||
- Verify that proxies are connected to, and the right connection command is given
|
- 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)
|
- `-proxy` (proxy everything)
|
||||||
- `-onion` (proxy just onions)
|
- `-onion` (proxy just onions)
|
||||||
- `-proxyrandomize` Circuit randomization
|
- `-proxyrandomize` Circuit randomization
|
||||||
@ -18,8 +18,8 @@ Test plan:
|
|||||||
- proxy on IPv6
|
- proxy on IPv6
|
||||||
|
|
||||||
- Create various proxies (as threads)
|
- Create various proxies (as threads)
|
||||||
- Create bitcoinds that connect to them
|
- Create litecoinds that connect to them
|
||||||
- Manipulate the bitcoinds using addnode (onetry) an observe effects
|
- Manipulate the litecoinds using addnode (onetry) an observe effects
|
||||||
|
|
||||||
addnode connect to IPv4
|
addnode connect to IPv4
|
||||||
addnode connect to IPv6
|
addnode connect to IPv6
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Copyright (c) 2017 The Bitcoin Core developers
|
# Copyright (c) 2017 The Bitcoin Core developers
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Distributed under the MIT software license, see the accompanying
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# 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.test_framework import BitcoinTestFramework
|
||||||
from test_framework.util import assert_equal, assert_raises_process_error, get_auth_cookie
|
from test_framework.util import assert_equal, assert_raises_process_error, get_auth_cookie
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Copyright (c) 2014-2017 The Bitcoin Core developers
|
# Copyright (c) 2014-2017 The Bitcoin Core developers
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Distributed under the MIT software license, see the accompanying
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# 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 socket
|
||||||
import sys
|
import sys
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Copyright (c) 2010-2017 The Bitcoin Core developers
|
# Copyright (c) 2010-2017 The Bitcoin Core developers
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Distributed under the MIT software license, see the accompanying
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# 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
|
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.
|
found in the mini-node branch of http://github.com/jgarzik/pynode.
|
||||||
@ -245,7 +245,7 @@ class P2PConnection(asyncore.dispatcher):
|
|||||||
|
|
||||||
|
|
||||||
class P2PInterface(P2PConnection):
|
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
|
This class provides high-level callbacks for processing P2P message
|
||||||
payloads, as well as convenience methods for interacting with the
|
payloads, as well as convenience methods for interacting with the
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# Copyright 2016-2017 The Bitcoin Core developers
|
# Copyright 2016-2017 The Bitcoin Core developers
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Distributed under the MIT software license, see the accompanying
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# 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`.
|
Runs automatically during `make check`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user