From 392b7aba5f7332bf2ca87ee2fd620fe660b5eca1 Mon Sep 17 00:00:00 2001 From: Jianping Wu Date: Mon, 28 Jan 2019 17:21:28 -0800 Subject: [PATCH] More changes from litecoin to kevacoin. --- .github/ISSUE_TEMPLATE.md | 8 +- .travis.yml | 6 +- CONTRIBUTING.md | 28 ++-- COPYING | 2 +- INSTALL.md | 4 +- Makefile.am | 12 +- README.md | 6 +- build-aux/m4/bitcoin_qt.m4 | 4 +- contrib/README.md | 16 +-- contrib/devtools/gen-manpages.sh | 8 +- contrib/gitian-build.sh | 72 +++++----- contrib/gitian-descriptors/gitian-linux.yml | 22 +-- .../gitian-descriptors/gitian-osx-signer.yml | 10 +- contrib/gitian-descriptors/gitian-osx.yml | 12 +- .../gitian-descriptors/gitian-win-signer.yml | 8 +- contrib/gitian-descriptors/gitian-win.yml | 16 +-- contrib/linearize/README.md | 6 +- contrib/linearize/example-linearize.cfg | 8 +- contrib/macdeploy/README.md | 4 +- contrib/macdeploy/custom_dsstore.py | 4 +- contrib/macdeploy/detached-sig-create.sh | 2 +- contrib/macdeploy/fancy.plist | 2 +- contrib/macdeploy/macdeployqtplus | 134 +++++++++--------- contrib/qos/README.md | 4 +- contrib/qos/tc.sh | 2 +- contrib/seeds/generate-seeds.py | 6 +- contrib/testgen/README.md | 4 +- contrib/tidy_datadir.sh | 12 +- contrib/windeploy/win-codesign.cert | 6 +- contrib/zmq/zmq_sub.py | 2 +- contrib/zmq/zmq_sub3.4.py | 4 +- depends/README.md | 6 +- depends/description.md | 4 +- doc/README_osx.md | 2 +- doc/README_windows.txt | 14 +- doc/REST-interface.md | 4 +- doc/assets-attribution.md | 2 +- doc/benchmarking.md | 4 +- doc/dependencies.md | 2 +- doc/developer-notes.md | 24 ++-- doc/dnsseed-policy.md | 16 +-- doc/files.md | 6 +- .../release-notes-0.10.2.2.md | 30 ++-- .../release-notes-0.10.4.md | 22 +-- .../release-notes-0.13.2.md | 104 +++++++------- .../release-notes-0.13.3.md | 14 +- .../release-notes-0.14.2.md | 70 ++++----- .../release-notes-0.15.0.1.md | 40 +++--- .../release-notes-0.15.1.md | 24 ++-- doc/man/Makefile.am | 6 +- doc/man/{litecoin-cli.1 => kevacoin-cli.1} | 28 ++-- doc/man/{litecoin-qt.1 => kevacoin-qt.1} | 20 +-- doc/man/{litecoin-tx.1 => kevacoin-tx.1} | 22 +-- doc/man/{litecoind.1 => kevacoind.1} | 22 +-- doc/reduce-traffic.md | 4 +- doc/release-notes-litecoin.md | 18 +-- doc/release-process.md | 126 ++++++++-------- doc/tor.md | 52 +++---- doc/travis-ci.md | 2 +- doc/zmq.md | 2 +- share/qt/Info.plist.in | 22 +-- share/rpcauth/rpcauth.py | 6 +- share/setup.nsi.in | 8 +- src/chainparamsseeds.h | 2 +- src/pow.cpp | 2 +- src/rpc/mining.cpp | 4 +- src/rpc/misc.cpp | 4 +- src/wallet/rpcdump.cpp | 4 +- src/wallet/rpcwallet.cpp | 4 +- src/wallet/test/wallet_tests.cpp | 2 +- test/README.md | 50 +++---- test/functional/README.md | 22 +-- test/functional/feature_block.py | 4 +- test/functional/feature_config_args.py | 2 +- test/functional/feature_help.py | 6 +- test/functional/feature_proxy.py | 14 +- test/functional/interface_bitcoin_cli.py | 8 +- test/functional/interface_zmq.py | 2 +- test/functional/mempool_persist.py | 2 +- test/functional/p2p_segwit.py | 12 +- test/functional/p2p_unrequested_blocks.py | 4 +- test/functional/rpc_bind.py | 2 +- test/functional/rpc_fundrawtransaction.py | 2 +- test/functional/rpc_listtransactions.py | 2 +- test/functional/rpc_rawtransaction.py | 4 +- test/functional/rpc_users.py | 6 +- test/functional/test_framework/coverage.py | 2 +- test/functional/test_framework/mininode.py | 6 +- .../test_framework/test_framework.py | 32 ++--- test/functional/test_framework/test_node.py | 12 +- test/functional/test_framework/util.py | 6 +- test/functional/test_runner.py | 12 +- test/functional/wallet_bumpfee.py | 2 +- test/functional/wallet_scriptaddress2.py | 4 +- test/util/bitcoin-util-test.py | 2 +- test/util/data/bitcoin-util-test.json | 126 ++++++++-------- 96 files changed, 764 insertions(+), 764 deletions(-) rename doc/man/{litecoin-cli.1 => kevacoin-cli.1} (75%) rename doc/man/{litecoin-qt.1 => kevacoin-qt.1} (96%) rename doc/man/{litecoin-tx.1 => kevacoin-tx.1} (82%) rename doc/man/{litecoind.1 => kevacoind.1} (96%) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 8a0754476..0fdf3e374 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,8 +1,8 @@ - @@ -13,7 +13,7 @@ If the node is "stuck" during sync or giving "block checksum mismatch" errors, p - + diff --git a/.travis.yml b/.travis.yml index b191ed0c5..aa310f810 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,8 +65,8 @@ before_script: # Start xvfb if needed, as documented at https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI - if [ "$NEED_XVFB" = 1 ]; then export DISPLAY=:99.0; /sbin/start-stop-daemon --start --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac; fi script: - - if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "litecoin-project/litecoin" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then while read LINE; do travis_retry gpg --keyserver hkp://subset.pool.sks-keyservers.net --recv-keys $LINE; done < contrib/verify-commits/trusted-keys; fi - - if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "litecoin-project/litecoin" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then contrib/verify-commits/verify-commits.sh; fi + - if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "kevacoin-project/kevacoin" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then while read LINE; do travis_retry gpg --keyserver hkp://subset.pool.sks-keyservers.net --recv-keys $LINE; done < contrib/verify-commits/trusted-keys; fi + - if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "kevacoin-project/kevacoin" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then contrib/verify-commits/verify-commits.sh; fi - export TRAVIS_COMMIT_LOG=`git log --format=fuller -1` - if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi - OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST @@ -76,7 +76,7 @@ script: - mkdir build && cd build - ../configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false) - make distdir VERSION=$HOST - - cd litecoin-$HOST + - cd kevacoin-$HOST - ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false) - make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false ) - export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ab8b453b6..ec5aa5697 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,7 @@ -Contributing to Litecoin Core +Contributing to Kevacoin Core ============================ -The Litecoin Core project operates an open contributor model where anyone is +The Kevacoin Core project operates an open contributor model where anyone is welcome to contribute towards development in the form of peer review, testing and patches. This document explains the practical process and guidelines for contributing. @@ -57,12 +57,12 @@ the pull request affects. Valid areas as: - *Consensus* for changes to consensus critical code - *Docs* for changes to the documentation - - *Qt* for changes to litecoin-qt + - *Qt* for changes to kevacoin-qt - *Mining* for changes to the mining code - *Net* or *P2P* for changes to the peer-to-peer network code - *RPC/REST/ZMQ* for changes to the RPC, REST or ZMQ APIs - *Scripts and tools* for changes to the scripts and tools - - *Tests* for changes to the litecoin unit tests or QA tests + - *Tests* for changes to the kevacoin unit tests or QA tests - *Trivial* should **only** be used for PRs that do not change generated executable code. Notably, refactors (change of function arguments and code reorganization) and changes in behavior should **not** be marked as trivial. @@ -82,7 +82,7 @@ Examples: Trivial: Fix typo in init.cpp Note that translations should not be submitted as pull requests, please see -[Translation Process](https://github.com/bitcoin/bitcoin/blob/master/doc/translation_process.md) +[Translation Process](https://github.com/bitcoin/bitcoin/blob/master/doc/translation_process.md) for more information on helping with translations. If a pull request is not to be considered for merging (yet), please @@ -169,11 +169,11 @@ workload on reviewing. "Decision Making" Process ------------------------- -The following applies to code changes to the Litecoin Core project (and related -projects such as libsecp256k1), and is not to be confused with overall Litecoin +The following applies to code changes to the Kevacoin Core project (and related +projects such as libsecp256k1), and is not to be confused with overall Kevacoin Network Protocol consensus changes. -Whether a pull request is merged into Litecoin Core rests with the project merge +Whether a pull request is merged into Kevacoin Core rests with the project merge maintainers and ultimately the project lead. Maintainers will take into consideration if a patch is in line with the general @@ -191,7 +191,7 @@ In general, all pull requests must: - Where bugs are fixed, where possible, there should be unit tests demonstrating the bug and also proving the fix. This helps prevent regression. -Patches that change Litecoin consensus rules are considerably more involved than +Patches that change Kevacoin consensus rules are considerably more involved than normal because they affect the entire ecosystem and so must be preceded by extensive mailing list discussions and have a numbered BIP. While each case will be different, one should be prepared to expend more time and effort than for @@ -232,7 +232,7 @@ higher in terms of discussion and peer review requirements, keeping in mind that mistakes could be very costly to the wider community. This includes refactoring of consensus critical code. -Where a patch set proposes to change the Litecoin consensus, it must have been +Where a patch set proposes to change the Kevacoin consensus, it must have been discussed extensively on the mailing list and IRC, be accompanied by a widely discussed BIP and have a generally widely perceived technical consensus of being a worthwhile change based on the judgement of the maintainers. @@ -272,12 +272,12 @@ about: Release Policy -------------- -The project leader is the release manager for each Litecoin Core release. +The project leader is the release manager for each Kevacoin Core release. Copyright --------- -By contributing to this repository, you agree to license your work under the -MIT license unless specified otherwise in `contrib/debian/copyright` or at -the top of the file itself. Any work contributed where you are not the original +By contributing to this repository, you agree to license your work under the +MIT license unless specified otherwise in `contrib/debian/copyright` or at +the top of the file itself. Any work contributed where you are not the original author must contain its license header with the original author(s) and source. diff --git a/COPYING b/COPYING index 9700e9e16..11687f6be 100644 --- a/COPYING +++ b/COPYING @@ -2,7 +2,7 @@ The MIT License (MIT) Copyright (c) 2009-2018 The Bitcoin Core developers Copyright (c) 2009-2018 Bitcoin Developers -Copyright (c) 2011-2018 The Litecoin Core developers +Copyright (c) 2011-2018 The Kevacoin Core developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/INSTALL.md b/INSTALL.md index e86eca43a..3f2829c6f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,5 +1,5 @@ -Building Litecoin +Building Kevacoin ================ See doc/build-*.md for instructions on building the various -elements of the Litecoin Core reference implementation of Kevacoin. +elements of the Kevacoin Core reference implementation of Kevacoin. diff --git a/Makefile.am b/Makefile.am index a06138a8a..1ea060d6d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,7 +24,7 @@ BITCOIN_WIN_INSTALLER=$(PACKAGE)-$(PACKAGE_VERSION)-win$(WINDOWS_BITS)-setup$(EX empty := space := $(empty) $(empty) -OSX_APP=Litecoin-Qt.app +OSX_APP=Kevacoin-Qt.app OSX_VOLNAME = $(subst $(space),-,$(PACKAGE_NAME)) OSX_DMG = $(OSX_VOLNAME).dmg OSX_BACKGROUND_SVG=background.svg @@ -85,7 +85,7 @@ $(OSX_APP)/Contents/PkgInfo: $(OSX_APP)/Contents/Resources/empty.lproj: $(MKDIR_P) $(@D) - @touch $@ + @touch $@ $(OSX_APP)/Contents/Info.plist: $(OSX_PLIST) $(MKDIR_P) $(@D) @@ -95,7 +95,7 @@ $(OSX_APP)/Contents/Resources/bitcoin.icns: $(OSX_INSTALLER_ICONS) $(MKDIR_P) $(@D) $(INSTALL_DATA) $< $@ -$(OSX_APP)/Contents/MacOS/Litecoin-Qt: $(BITCOIN_QT_BIN) +$(OSX_APP)/Contents/MacOS/Kevacoin-Qt: $(BITCOIN_QT_BIN) $(MKDIR_P) $(@D) STRIPPROG="$(STRIP)" $(INSTALL_STRIP_PROGRAM) $< $@ @@ -105,7 +105,7 @@ $(OSX_APP)/Contents/Resources/Base.lproj/InfoPlist.strings: OSX_APP_BUILT=$(OSX_APP)/Contents/PkgInfo $(OSX_APP)/Contents/Resources/empty.lproj \ $(OSX_APP)/Contents/Resources/bitcoin.icns $(OSX_APP)/Contents/Info.plist \ - $(OSX_APP)/Contents/MacOS/Litecoin-Qt $(OSX_APP)/Contents/Resources/Base.lproj/InfoPlist.strings + $(OSX_APP)/Contents/MacOS/Kevacoin-Qt $(OSX_APP)/Contents/Resources/Base.lproj/InfoPlist.strings osx_volname: echo $(OSX_VOLNAME) >$@ @@ -130,7 +130,7 @@ $(APP_DIST_DIR)/Applications: @rm -f $@ @cd $(@D); $(LN_S) /Applications $(@F) -$(APP_DIST_EXTRAS): $(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Litecoin-Qt +$(APP_DIST_EXTRAS): $(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Kevacoin-Qt $(OSX_DMG): $(APP_DIST_EXTRAS) $(GENISOIMAGE) -no-cache-inodes -D -l -probe -V "$(OSX_VOLNAME)" -no-pad -r -dir-mode 0755 -apple -o $@ dist @@ -145,7 +145,7 @@ $(APP_DIST_DIR)/.background/$(OSX_BACKGROUND_IMAGE): $(OSX_BACKGROUND_IMAGE_DPIF $(APP_DIST_DIR)/.DS_Store: $(OSX_DSSTORE_GEN) $(PYTHON) $< "$@" "$(OSX_VOLNAME)" -$(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Litecoin-Qt: $(OSX_APP_BUILT) $(OSX_PACKAGING) +$(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Kevacoin-Qt: $(OSX_APP_BUILT) $(OSX_PACKAGING) INSTALLNAMETOOL=$(INSTALLNAMETOOL) OTOOL=$(OTOOL) STRIP=$(STRIP) $(PYTHON) $(OSX_DEPLOY_SCRIPT) $(OSX_APP) -translations-dir=$(QT_TRANSLATION_DIR) -add-qt-tr $(OSX_QT_TRANSLATIONS) -verbose 2 deploydir: $(APP_DIST_EXTRAS) diff --git a/README.md b/README.md index fd9c097f8..acfb315df 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ https://kevacoin.org What is Kevacoin? ---------------- -Kevacoin is a decentralized open source key-value data store based on the Litecoin (which is in turn based on Bitcoin) cryptocurrency. Kevacoin is largely influenced by Namecoin [https://namecoin.org](https://namecoin.org), even though it serves very different purposes and works very differently. +Kevacoin is a decentralized open source key-value data store based on the Kevacoin (which is in turn based on Bitcoin) cryptocurrency. Kevacoin is largely influenced by Namecoin [https://namecoin.org](https://namecoin.org), even though it serves very different purposes and works very differently. What does it do? ---------------- @@ -19,7 +19,7 @@ What does it do? What can it be used for? ------------------------ -As a decentralized key-value database, it can be used to store data for all kinds of applications, such as social media, microblogging, public identity information, notary service. Kevacoin has limited support for smart contracts (similar to Bitcoin and Litecoin), but one can still develop decentralized apps (dApps) on Kevacoin. The data is decentralized while the application logic is developed off the blockchain. +As a decentralized key-value database, it can be used to store data for all kinds of applications, such as social media, microblogging, public identity information, notary service. Kevacoin has limited support for smart contracts (similar to Bitcoin and Kevacoin), but one can still develop decentralized apps (dApps) on Kevacoin. The data is decentralized while the application logic is developed off the blockchain. For more information, as well as an immediately useable, binary version of the Kevacoin Core software, see [https://kevacoin.org](https://kevacoin.org). @@ -41,7 +41,7 @@ Development Process ------------------- The `master` branch is regularly built and tested, but is not guaranteed to be -completely stable. [Tags](https://github.com/kevacoin-project/litecoin/tags) are created +completely stable. [Tags](https://github.com/kevacoin-project/kevacoin/tags) are created regularly to indicate new official, stable release versions of Kevacoin Core. The contribution workflow is described in [CONTRIBUTING.md](CONTRIBUTING.md). diff --git a/build-aux/m4/bitcoin_qt.m4 b/build-aux/m4/bitcoin_qt.m4 index c4fdd3065..13315ff12 100644 --- a/build-aux/m4/bitcoin_qt.m4 +++ b/build-aux/m4/bitcoin_qt.m4 @@ -7,7 +7,7 @@ dnl Output: If qt version is auto, set bitcoin_enable_qt to false. Else, exit. AC_DEFUN([BITCOIN_QT_FAIL],[ if test "x$bitcoin_qt_want_version" = xauto && test "x$bitcoin_qt_force" != xyes; then if test "x$bitcoin_enable_qt" != xno; then - AC_MSG_WARN([$1; litecoin-qt frontend will not be built]) + AC_MSG_WARN([$1; kevacoin-qt frontend will not be built]) fi bitcoin_enable_qt=no bitcoin_enable_qt_test=no @@ -54,7 +54,7 @@ AC_DEFUN([BITCOIN_QT_INIT],[ dnl enable qt support AC_ARG_WITH([gui], [AS_HELP_STRING([--with-gui@<:@=no|qt4|qt5|auto@:>@], - [build litecoin-qt GUI (default=auto, qt5 tried first)])], + [build kevacoin-qt GUI (default=auto, qt5 tried first)])], [ bitcoin_qt_want_version=$withval if test "x$bitcoin_qt_want_version" = xyes; then diff --git a/contrib/README.md b/contrib/README.md index 613da989a..02f95600b 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -13,7 +13,7 @@ Construct a linear, no-fork, best version of the blockchain. ### [Qos](/contrib/qos) ### -A Linux bash script that will set up traffic control (tc) to limit the outgoing bandwidth for connections to the Litecoin network. This means one can have an always-on litecoind instance running, and another local litecoind/litecoin-qt instance which connects to this node and receives blocks from it. +A Linux bash script that will set up traffic control (tc) to limit the outgoing bandwidth for connections to the Kevacoin network. This means one can have an always-on kevacoind instance running, and another local kevacoind/kevacoin-qt instance which connects to this node and receives blocks from it. ### [Seeds](/contrib/seeds) ### Utility to generate the pnSeed[] array that is compiled into the client. @@ -22,17 +22,17 @@ Build Tools and Keys --------------------- ### [Debian](/contrib/debian) ### -Contains files used to package litecoind/litecoin-qt -for Debian-based Linux systems. If you compile litecoind/litecoin-qt yourself, there are some useful files here. +Contains files used to package kevacoind/kevacoin-qt +for Debian-based Linux systems. If you compile kevacoind/kevacoin-qt yourself, there are some useful files here. ### [Gitian-descriptors](/contrib/gitian-descriptors) ### Files used during the gitian build process. For more information about gitian, see the [the Bitcoin Core documentation repository](https://github.com/bitcoin-core/docs). ### [Gitian-keys](/contrib/gitian-keys) -PGP keys used for signing Litecoin Core [Gitian release](/doc/release-process.md) results. +PGP keys used for signing Kevacoin Core [Gitian release](/doc/release-process.md) results. ### [MacDeploy](/contrib/macdeploy) ### -Scripts and notes for Mac builds. +Scripts and notes for Mac builds. ### [RPM](/contrib/rpm) ### RPM spec file for building blitecoin-core on RPM based distributions. @@ -40,11 +40,11 @@ RPM spec file for building blitecoin-core on RPM based distributions. ### [Gitian-build](/contrib/gitian-build.sh) ### Script for running full Gitian builds. -Test and Verify Tools +Test and Verify Tools --------------------- ### [TestGen](/contrib/testgen) ### -Utilities to generate test vectors for the data-driven Litecoin tests. +Utilities to generate test vectors for the data-driven Kevacoin tests. ### [Verify Binaries](/contrib/verifybinaries) ### -This script attempts to download and verify the signature file SHA256SUMS.asc from litecoin.org. +This script attempts to download and verify the signature file SHA256SUMS.asc from kevacoin.org. diff --git a/contrib/devtools/gen-manpages.sh b/contrib/devtools/gen-manpages.sh index 856d0882d..a04a30dc2 100755 --- a/contrib/devtools/gen-manpages.sh +++ b/contrib/devtools/gen-manpages.sh @@ -4,10 +4,10 @@ TOPDIR=${TOPDIR:-$(git rev-parse --show-toplevel)} SRCDIR=${SRCDIR:-$TOPDIR/src} MANDIR=${MANDIR:-$TOPDIR/doc/man} -LITECOIND=${LITECOIND:-$SRCDIR/litecoind} -LITECOINCLI=${LITECOINCLI:-$SRCDIR/litecoin-cli} -LITECOINTX=${LITECOINTX:-$SRCDIR/litecoin-tx} -LITECOINQT=${LITECOINQT:-$SRCDIR/qt/litecoin-qt} +LITECOIND=${LITECOIND:-$SRCDIR/kevacoind} +LITECOINCLI=${LITECOINCLI:-$SRCDIR/kevacoin-cli} +LITECOINTX=${LITECOINTX:-$SRCDIR/kevacoin-tx} +LITECOINQT=${LITECOINQT:-$SRCDIR/qt/kevacoin-qt} [ ! -x $LITECOIND ] && echo "$LITECOIND not found or not executable." && exit 1 diff --git a/contrib/gitian-build.sh b/contrib/gitian-build.sh index f9ed53096..23a76f658 100755 --- a/contrib/gitian-build.sh +++ b/contrib/gitian-build.sh @@ -16,7 +16,7 @@ osx=true SIGNER= VERSION= commit=false -url=https://github.com/litecoin-project/litecoin +url=https://github.com/kevacoin-project/kevacoin proc=2 mem=2000 lxc=true @@ -30,7 +30,7 @@ commitFiles=true read -d '' usage <<- EOF Usage: $scriptName [-c|u|v|b|s|B|o|h|j|m|] signer version -Run this script from the directory containing the litecoin, gitian-builder, gitian.sigs.ltc, and litecoin-detached-sigs. +Run this script from the directory containing the kevacoin, gitian-builder, gitian.sigs.ltc, and kevacoin-detached-sigs. Arguments: signer GPG signer to sign each build assert file @@ -38,7 +38,7 @@ version Version number, commit, or branch to build. If building a commit or bra Options: -c|--commit Indicate that the version argument is for a commit or branch --u|--url Specify the URL of the repository. Default is https://github.com/litecoin-project/litecoin +-u|--url Specify the URL of the repository. Default is https://github.com/kevacoin-project/kevacoin -v|--verify Verify the gitian build -b|--build Do a gitian build -s|--sign Make signed binaries for Windows and Mac OSX @@ -229,8 +229,8 @@ echo ${COMMIT} if [[ $setup = true ]] then sudo apt-get install ruby apache2 git apt-cacher-ng python-vm-builder qemu-kvm qemu-utils - git clone https://github.com/litecoin-project/gitian.sigs.ltc.git - git clone https://github.com/litecoin-project/litecoin-detached-sigs.git + git clone https://github.com/kevacoin-project/gitian.sigs.ltc.git + git clone https://github.com/kevacoin-project/kevacoin-detached-sigs.git git clone https://github.com/devrandom/gitian-builder.git pushd ./gitian-builder if [[ -n "$USE_LXC" ]] @@ -244,7 +244,7 @@ then fi # Set up build -pushd ./litecoin +pushd ./kevacoin git fetch git checkout ${COMMIT} popd @@ -253,17 +253,17 @@ popd if [[ $build = true ]] then # Make output folder - mkdir -p ./litecoin-binaries/${VERSION} - + mkdir -p ./kevacoin-binaries/${VERSION} + # Build Dependencies echo "" echo "Building Dependencies" echo "" - pushd ./gitian-builder + pushd ./gitian-builder mkdir -p inputs wget -N -P inputs $osslPatchUrl wget -N -P inputs $osslTarUrl - make -C ../litecoin/depends download SOURCES_PATH=`pwd`/cache/common + make -C ../kevacoin/depends download SOURCES_PATH=`pwd`/cache/common # Linux if [[ $linux = true ]] @@ -271,9 +271,9 @@ then echo "" echo "Compiling ${VERSION} Linux" echo "" - ./bin/gbuild -j ${proc} -m ${mem} --commit litecoin=${COMMIT} --url litecoin=${url} ../litecoin/contrib/gitian-descriptors/gitian-linux.yml - ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-linux.yml - mv build/out/litecoin-*.tar.gz build/out/src/litecoin-*.tar.gz ../litecoin-binaries/${VERSION} + ./bin/gbuild -j ${proc} -m ${mem} --commit kevacoin=${COMMIT} --url kevacoin=${url} ../kevacoin/contrib/gitian-descriptors/gitian-linux.yml + ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs.ltc/ ../kevacoin/contrib/gitian-descriptors/gitian-linux.yml + mv build/out/kevacoin-*.tar.gz build/out/src/kevacoin-*.tar.gz ../kevacoin-binaries/${VERSION} fi # Windows if [[ $windows = true ]] @@ -281,10 +281,10 @@ then echo "" echo "Compiling ${VERSION} Windows" echo "" - ./bin/gbuild -j ${proc} -m ${mem} --commit litecoin=${COMMIT} --url litecoin=${url} ../litecoin/contrib/gitian-descriptors/gitian-win.yml - ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-win.yml - mv build/out/litecoin-*-win-unsigned.tar.gz inputs/litecoin-win-unsigned.tar.gz - mv build/out/litecoin-*.zip build/out/litecoin-*.exe ../litecoin-binaries/${VERSION} + ./bin/gbuild -j ${proc} -m ${mem} --commit kevacoin=${COMMIT} --url kevacoin=${url} ../kevacoin/contrib/gitian-descriptors/gitian-win.yml + ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs.ltc/ ../kevacoin/contrib/gitian-descriptors/gitian-win.yml + mv build/out/kevacoin-*-win-unsigned.tar.gz inputs/kevacoin-win-unsigned.tar.gz + mv build/out/kevacoin-*.zip build/out/kevacoin-*.exe ../kevacoin-binaries/${VERSION} fi # Mac OSX if [[ $osx = true ]] @@ -292,10 +292,10 @@ then echo "" echo "Compiling ${VERSION} Mac OSX" echo "" - ./bin/gbuild -j ${proc} -m ${mem} --commit litecoin=${COMMIT} --url litecoin=${url} ../litecoin/contrib/gitian-descriptors/gitian-osx.yml - ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-osx.yml - mv build/out/litecoin-*-osx-unsigned.tar.gz inputs/litecoin-osx-unsigned.tar.gz - mv build/out/litecoin-*.tar.gz build/out/litecoin-*.dmg ../litecoin-binaries/${VERSION} + ./bin/gbuild -j ${proc} -m ${mem} --commit kevacoin=${COMMIT} --url kevacoin=${url} ../kevacoin/contrib/gitian-descriptors/gitian-osx.yml + ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs.ltc/ ../kevacoin/contrib/gitian-descriptors/gitian-osx.yml + mv build/out/kevacoin-*-osx-unsigned.tar.gz inputs/kevacoin-osx-unsigned.tar.gz + mv build/out/kevacoin-*.tar.gz build/out/kevacoin-*.dmg ../kevacoin-binaries/${VERSION} fi popd @@ -322,34 +322,34 @@ then echo "" echo "Verifying v${VERSION} Linux" echo "" - ./bin/gverify -v -d ../gitian.sigs.ltc/ -r ${VERSION}-linux ../litecoin/contrib/gitian-descriptors/gitian-linux.yml + ./bin/gverify -v -d ../gitian.sigs.ltc/ -r ${VERSION}-linux ../kevacoin/contrib/gitian-descriptors/gitian-linux.yml # Windows echo "" echo "Verifying v${VERSION} Windows" echo "" - ./bin/gverify -v -d ../gitian.sigs.ltc/ -r ${VERSION}-win-unsigned ../litecoin/contrib/gitian-descriptors/gitian-win.yml - # Mac OSX + ./bin/gverify -v -d ../gitian.sigs.ltc/ -r ${VERSION}-win-unsigned ../kevacoin/contrib/gitian-descriptors/gitian-win.yml + # Mac OSX echo "" echo "Verifying v${VERSION} Mac OSX" - echo "" - ./bin/gverify -v -d ../gitian.sigs.ltc/ -r ${VERSION}-osx-unsigned ../litecoin/contrib/gitian-descriptors/gitian-osx.yml + echo "" + ./bin/gverify -v -d ../gitian.sigs.ltc/ -r ${VERSION}-osx-unsigned ../kevacoin/contrib/gitian-descriptors/gitian-osx.yml # Signed Windows echo "" echo "Verifying v${VERSION} Signed Windows" echo "" - ./bin/gverify -v -d ../gitian.sigs.ltc/ -r ${VERSION}-osx-signed ../litecoin/contrib/gitian-descriptors/gitian-osx-signer.yml + ./bin/gverify -v -d ../gitian.sigs.ltc/ -r ${VERSION}-osx-signed ../kevacoin/contrib/gitian-descriptors/gitian-osx-signer.yml # Signed Mac OSX echo "" echo "Verifying v${VERSION} Signed Mac OSX" echo "" - ./bin/gverify -v -d ../gitian.sigs.ltc/ -r ${VERSION}-osx-signed ../litecoin/contrib/gitian-descriptors/gitian-osx-signer.yml + ./bin/gverify -v -d ../gitian.sigs.ltc/ -r ${VERSION}-osx-signed ../kevacoin/contrib/gitian-descriptors/gitian-osx-signer.yml popd fi # Sign binaries if [[ $sign = true ]] then - + pushd ./gitian-builder # Sign Windows if [[ $windows = true ]] @@ -357,10 +357,10 @@ then echo "" echo "Signing ${VERSION} Windows" echo "" - ./bin/gbuild -i --commit signature=${COMMIT} ../litecoin/contrib/gitian-descriptors/gitian-win-signer.yml - ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-win-signed --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-win-signer.yml - mv build/out/litecoin-*win64-setup.exe ../litecoin-binaries/${VERSION} - mv build/out/litecoin-*win32-setup.exe ../litecoin-binaries/${VERSION} + ./bin/gbuild -i --commit signature=${COMMIT} ../kevacoin/contrib/gitian-descriptors/gitian-win-signer.yml + ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-win-signed --destination ../gitian.sigs.ltc/ ../kevacoin/contrib/gitian-descriptors/gitian-win-signer.yml + mv build/out/kevacoin-*win64-setup.exe ../kevacoin-binaries/${VERSION} + mv build/out/kevacoin-*win32-setup.exe ../kevacoin-binaries/${VERSION} fi # Sign Mac OSX if [[ $osx = true ]] @@ -368,9 +368,9 @@ then echo "" echo "Signing ${VERSION} Mac OSX" echo "" - ./bin/gbuild -i --commit signature=${COMMIT} ../litecoin/contrib/gitian-descriptors/gitian-osx-signer.yml - ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-osx-signed --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-osx-signer.yml - mv build/out/litecoin-osx-signed.dmg ../litecoin-binaries/${VERSION}/litecoin-${VERSION}-osx.dmg + ./bin/gbuild -i --commit signature=${COMMIT} ../kevacoin/contrib/gitian-descriptors/gitian-osx-signer.yml + ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-osx-signed --destination ../gitian.sigs.ltc/ ../kevacoin/contrib/gitian-descriptors/gitian-osx-signer.yml + mv build/out/kevacoin-osx-signed.dmg ../kevacoin-binaries/${VERSION}/kevacoin-${VERSION}-osx.dmg fi popd diff --git a/contrib/gitian-descriptors/gitian-linux.yml b/contrib/gitian-descriptors/gitian-linux.yml index 8bd0dc403..0f1cd8899 100644 --- a/contrib/gitian-descriptors/gitian-linux.yml +++ b/contrib/gitian-descriptors/gitian-linux.yml @@ -1,5 +1,5 @@ --- -name: "litecoin-linux-0.16" +name: "kevacoin-linux-0.16" enable_cache: true suites: - "trusty" @@ -28,8 +28,8 @@ packages: - "ca-certificates" - "python" remotes: -- "url": "https://github.com/litecoin-project/litecoin.git" - "dir": "litecoin" +- "url": "https://github.com/kevacoin-project/kevacoin.git" + "dir": "kevacoin" files: [] script: | @@ -113,7 +113,7 @@ script: | chmod +x ${WRAP_DIR}/${prog} done - cd litecoin + cd kevacoin BASEPREFIX=`pwd`/depends # Build dependencies for each host for i in $HOSTS; do @@ -135,13 +135,13 @@ script: | ./autogen.sh CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/ make dist - SOURCEDIST=`echo litecoin-*.tar.gz` + SOURCEDIST=`echo kevacoin-*.tar.gz` DISTNAME=`echo ${SOURCEDIST} | sed 's/.tar.*//'` # Correct tar file order mkdir -p temp pushd temp tar xf ../$SOURCEDIST - find litecoin-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST + find kevacoin-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST popd # Workaround for tarball not building with the bare tag version (prep) @@ -181,14 +181,14 @@ script: | find . -name "lib*.la" -delete find . -name "lib*.a" -delete rm -rf ${DISTNAME}/lib/pkgconfig - - # Litecoin: Delete libbitcoin from binary distribution for now, see #192 + + # Kevacoin: Delete libbitcoin from binary distribution for now, see #192 rm -rf ${DISTNAME}/lib/ rm -rf ${DISTNAME}/include/ - # Litecoin: ends - + # Kevacoin: ends + find ${DISTNAME}/bin -type f -executable -exec ../contrib/devtools/split-debug.sh {} {} {}.dbg \; - #find ${DISTNAME}/lib -type f -exec ../contrib/devtools/split-debug.sh {} {} {}.dbg \; # Litecoin: see issue 192 + #find ${DISTNAME}/lib -type f -exec ../contrib/devtools/split-debug.sh {} {} {}.dbg \; # Kevacoin: see issue 192 find ${DISTNAME} -not -name "*.dbg" | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-${i}.tar.gz find ${DISTNAME} -name "*.dbg" | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-${i}-debug.tar.gz cd ../../ diff --git a/contrib/gitian-descriptors/gitian-osx-signer.yml b/contrib/gitian-descriptors/gitian-osx-signer.yml index 784583473..769b6476b 100644 --- a/contrib/gitian-descriptors/gitian-osx-signer.yml +++ b/contrib/gitian-descriptors/gitian-osx-signer.yml @@ -1,5 +1,5 @@ --- -name: "litecoin-dmg-signer" +name: "kevacoin-dmg-signer" suites: - "trusty" architectures: @@ -7,10 +7,10 @@ architectures: packages: - "faketime" remotes: -- "url": "https://github.com/litecoin-project/litecoin-detached-sigs.git" +- "url": "https://github.com/kevacoin-project/kevacoin-detached-sigs.git" "dir": "signature" files: -- "litecoin-osx-unsigned.tar.gz" +- "kevacoin-osx-unsigned.tar.gz" script: | WRAP_DIR=$HOME/wrapped mkdir -p ${WRAP_DIR} @@ -27,8 +27,8 @@ script: | chmod +x ${WRAP_DIR}/${prog} done - UNSIGNED=litecoin-osx-unsigned.tar.gz - SIGNED=litecoin-osx-signed.dmg + UNSIGNED=kevacoin-osx-unsigned.tar.gz + SIGNED=kevacoin-osx-signed.dmg tar -xf ${UNSIGNED} OSX_VOLNAME="$(cat osx_volname)" diff --git a/contrib/gitian-descriptors/gitian-osx.yml b/contrib/gitian-descriptors/gitian-osx.yml index b75f06e7c..36cb70de2 100644 --- a/contrib/gitian-descriptors/gitian-osx.yml +++ b/contrib/gitian-descriptors/gitian-osx.yml @@ -1,5 +1,5 @@ --- -name: "litecoin-osx-0.16" +name: "kevacoin-osx-0.16" enable_cache: true suites: - "trusty" @@ -28,8 +28,8 @@ packages: - "python-setuptools" - "fonts-tuffy" remotes: -- "url": "https://github.com/litecoin-project/litecoin.git" - "dir": "litecoin" +- "url": "https://github.com/kevacoin-project/kevacoin.git" + "dir": "kevacoin" files: - "MacOSX10.11.sdk.tar.gz" script: | @@ -83,7 +83,7 @@ script: | create_per-host_faketime_wrappers "2000-01-01 12:00:00" export PATH=${WRAP_DIR}:${PATH} - cd litecoin + cd kevacoin BASEPREFIX=`pwd`/depends mkdir -p ${BASEPREFIX}/SDKs @@ -104,14 +104,14 @@ script: | ./autogen.sh CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/ make dist - SOURCEDIST=`echo litecoin-*.tar.gz` + SOURCEDIST=`echo kevacoin-*.tar.gz` DISTNAME=`echo ${SOURCEDIST} | sed 's/.tar.*//'` # Correct tar file order mkdir -p temp pushd temp tar xf ../$SOURCEDIST - find litecoin-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST + find kevacoin-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST popd # Workaround for tarball not building with the bare tag version (prep) diff --git a/contrib/gitian-descriptors/gitian-win-signer.yml b/contrib/gitian-descriptors/gitian-win-signer.yml index 331bf8976..2f5a2aeed 100644 --- a/contrib/gitian-descriptors/gitian-win-signer.yml +++ b/contrib/gitian-descriptors/gitian-win-signer.yml @@ -1,5 +1,5 @@ --- -name: "litecoin-win-signer" +name: "kevacoin-win-signer" suites: - "trusty" architectures: @@ -8,12 +8,12 @@ packages: - "libssl-dev" - "autoconf" remotes: -- "url": "https://github.com/litecoin-project/litecoin-detached-sigs.git" +- "url": "https://github.com/kevacoin-project/kevacoin-detached-sigs.git" "dir": "signature" files: - "osslsigncode-1.7.1.tar.gz" - "osslsigncode-Backports-to-1.7.1.patch" -- "litecoin-win-unsigned.tar.gz" +- "kevacoin-win-unsigned.tar.gz" script: | BUILD_DIR=`pwd` SIGDIR=${BUILD_DIR}/signature/win @@ -23,7 +23,7 @@ script: | echo "a8c4e9cafba922f89de0df1f2152e7be286aba73f78505169bc351a7938dd911 osslsigncode-Backports-to-1.7.1.patch" | sha256sum -c mkdir -p ${UNSIGNED_DIR} - tar -C ${UNSIGNED_DIR} -xf litecoin-win-unsigned.tar.gz + tar -C ${UNSIGNED_DIR} -xf kevacoin-win-unsigned.tar.gz tar xf osslsigncode-1.7.1.tar.gz cd osslsigncode-1.7.1 diff --git a/contrib/gitian-descriptors/gitian-win.yml b/contrib/gitian-descriptors/gitian-win.yml index 4330b8cbd..e916d0c76 100644 --- a/contrib/gitian-descriptors/gitian-win.yml +++ b/contrib/gitian-descriptors/gitian-win.yml @@ -1,5 +1,5 @@ --- -name: "litecoin-win-0.16" +name: "kevacoin-win-0.16" enable_cache: true suites: - "trusty" @@ -22,8 +22,8 @@ packages: - "ca-certificates" - "python" remotes: -- "url": "https://github.com/litecoin-project/litecoin.git" - "dir": "litecoin" +- "url": "https://github.com/kevacoin-project/kevacoin.git" + "dir": "kevacoin" files: [] script: | WRAP_DIR=$HOME/wrapped @@ -101,7 +101,7 @@ script: | create_per-host_linker_wrapper "2000-01-01 12:00:00" export PATH=${WRAP_DIR}:${PATH} - cd litecoin + cd kevacoin BASEPREFIX=`pwd`/depends # Build dependencies for each host for i in $HOSTS; do @@ -119,14 +119,14 @@ script: | ./autogen.sh CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/ make dist - SOURCEDIST=`echo litecoin-*.tar.gz` + SOURCEDIST=`echo kevacoin-*.tar.gz` DISTNAME=`echo ${SOURCEDIST} | sed 's/.tar.*//'` # Correct tar file order mkdir -p temp pushd temp tar xf ../$SOURCEDIST - find litecoin-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST + find kevacoin-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST mkdir -p $OUTDIR/src cp ../$SOURCEDIST $OUTDIR/src popd @@ -155,7 +155,7 @@ script: | make deploy make install DESTDIR=${INSTALLPATH} rename 's/-setup\.exe$/-setup-unsigned.exe/' *-setup.exe - cp -f litecoin-*setup*.exe $OUTDIR/ + cp -f kevacoin-*setup*.exe $OUTDIR/ cd installed mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/ find . -name "lib*.la" -delete @@ -171,7 +171,7 @@ script: | cp -rf contrib/windeploy $BUILD_DIR cd $BUILD_DIR/windeploy mkdir unsigned - cp $OUTDIR/litecoin-*setup-unsigned.exe unsigned/ + cp $OUTDIR/kevacoin-*setup-unsigned.exe unsigned/ find . | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-win-unsigned.tar.gz mv ${OUTDIR}/${DISTNAME}-x86_64-*-debug.zip ${OUTDIR}/${DISTNAME}-win64-debug.zip mv ${OUTDIR}/${DISTNAME}-i686-*-debug.zip ${OUTDIR}/${DISTNAME}-win32-debug.zip diff --git a/contrib/linearize/README.md b/contrib/linearize/README.md index fb36bed86..c5f3d0715 100644 --- a/contrib/linearize/README.md +++ b/contrib/linearize/README.md @@ -1,5 +1,5 @@ # Linearize -Construct a linear, no-fork, best version of the Litecoin blockchain. The scripts +Construct a linear, no-fork, best version of the Kevacoin blockchain. The scripts run using Python 3 but are compatible with Python 2. ## Step 1: Download hash list @@ -21,7 +21,7 @@ standalone hash lists but safe to use with linearize-data.py, which will output the same data no matter which byte format is chosen. The `linearize-hashes` script requires a connection, local or remote, to a -JSON-RPC server. Running `litecoind` or `litecoin-qt -server` will be sufficient. +JSON-RPC server. Running `kevacoind` or `kevacoin-qt -server` will be sufficient. ## Step 2: Copy local block data @@ -39,7 +39,7 @@ will be printed. respectively, to the current time and to the timestamp of the most recent block written to the script's blockchain. * `genesis`: The hash of the genesis block in the blockchain. -* `input`: litecoind blocks/ directory containing blkNNNNN.dat +* `input`: kevacoind blocks/ directory containing blkNNNNN.dat * `hashlist`: text file containing list of block hashes created by linearize-hashes.py. * `max_out_sz`: Maximum size for files created by the `output_file` option. diff --git a/contrib/linearize/example-linearize.cfg b/contrib/linearize/example-linearize.cfg index 84dc588a7..d0201be8a 100644 --- a/contrib/linearize/example-linearize.cfg +++ b/contrib/linearize/example-linearize.cfg @@ -1,7 +1,7 @@ -# litecoind RPC settings (linearize-hashes) +# kevacoind RPC settings (linearize-hashes) rpcuser=someuser rpcpassword=somepassword -#datadir=~/.litecoin +#datadir=~/.kevacoin host=127.0.0.1 #mainnet default @@ -21,12 +21,12 @@ max_height=313000 # mainnet netmagic=fbc0b6db genesis=12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2 -input=/home/example/.litecoin/blocks +input=/home/example/.kevacoin/blocks # testnet #netmagic=fdd2c8f1 #genesis=4966625a4b2851d9fdee139e56211a0d88575f59ed816ff5e6a63deb4e3e29a0 -#input=/home/example/.litecoin/testnet3/blocks +#input=/home/example/.kevacoin/testnet3/blocks # "output" option causes blockchain files to be written to the given location, # with "output_file" ignored. If not used, "output_file" is used instead. diff --git a/contrib/macdeploy/README.md b/contrib/macdeploy/README.md index 50cc94d20..95f4227d9 100644 --- a/contrib/macdeploy/README.md +++ b/contrib/macdeploy/README.md @@ -1,7 +1,7 @@ ### MacDeploy ### For Snow Leopard (which uses [Python 2.6](http://www.python.org/download/releases/2.6/)), you will need the param_parser package: - + sudo easy_install argparse This script should not be run manually, instead, after building as usual: @@ -11,5 +11,5 @@ This script should not be run manually, instead, after building as usual: During the process, the disk image window will pop up briefly where the fancy settings are applied. This is normal, please do not interfere. -When finished, it will produce `Litecoin-Core.dmg`. +When finished, it will produce `Kevacoin-Core.dmg`. diff --git a/contrib/macdeploy/custom_dsstore.py b/contrib/macdeploy/custom_dsstore.py index c8bb6d1a2..14410ede1 100755 --- a/contrib/macdeploy/custom_dsstore.py +++ b/contrib/macdeploy/custom_dsstore.py @@ -46,7 +46,7 @@ alias.volume.name = package_name_ns alias.volume.posix_path = '/Volumes/' + package_name_ns alias.volume.disk_image_alias.target.filename = package_name_ns + '.temp.dmg' alias.volume.disk_image_alias.target.carbon_path = 'Macintosh HD:Users:\x00litecoinuser:\x00Documents:\x00litecoin:\x00litecoin:\x00' + package_name_ns + '.temp.dmg' -alias.volume.disk_image_alias.target.posix_path = 'Users/litecoinuser/Documents/litecoin/litecoin/' + package_name_ns + '.temp.dmg' +alias.volume.disk_image_alias.target.posix_path = 'Users/litecoinuser/Documents/kevacoin/kevacoin/' + package_name_ns + '.temp.dmg' alias.target.carbon_path = package_name_ns + ':.background:\x00background.tiff' icvp['backgroundImageAlias'] = biplist.Data(alias.to_bytes()) ds['.']['icvp'] = icvp @@ -54,7 +54,7 @@ ds['.']['icvp'] = icvp ds['.']['vSrn'] = ('long', 1) ds['Applications']['Iloc'] = (370, 156) -ds['Litecoin-Qt.app']['Iloc'] = (128, 156) +ds['Kevacoin-Qt.app']['Iloc'] = (128, 156) ds.flush() ds.close() diff --git a/contrib/macdeploy/detached-sig-create.sh b/contrib/macdeploy/detached-sig-create.sh index 4bec40f30..a3639ab3b 100755 --- a/contrib/macdeploy/detached-sig-create.sh +++ b/contrib/macdeploy/detached-sig-create.sh @@ -6,7 +6,7 @@ set -e ROOTDIR=dist -BUNDLE="${ROOTDIR}/Litecoin-Qt.app" +BUNDLE="${ROOTDIR}/Kevacoin-Qt.app" CODESIGN=codesign TEMPDIR=sign.temp TEMPLIST=${TEMPDIR}/signatures.txt diff --git a/contrib/macdeploy/fancy.plist b/contrib/macdeploy/fancy.plist index 1dd36c9d1..9ede095e4 100644 --- a/contrib/macdeploy/fancy.plist +++ b/contrib/macdeploy/fancy.plist @@ -22,7 +22,7 @@ 370 156 - Litecoin-Qt.app + Kevacoin-Qt.app 128 156 diff --git a/contrib/macdeploy/macdeployqtplus b/contrib/macdeploy/macdeployqtplus index 6d4b15ce5..b375add31 100755 --- a/contrib/macdeploy/macdeployqtplus +++ b/contrib/macdeploy/macdeployqtplus @@ -41,13 +41,13 @@ class FrameworkInfo(object): self.sourceContentsDirectory = "" self.destinationResourcesDirectory = "" self.destinationVersionContentsDirectory = "" - + def __eq__(self, other): if self.__class__ == other.__class__: return self.__dict__ == other.__dict__ else: return False - + def __str__(self): return """ Framework name: %s Framework directory: %s @@ -71,51 +71,51 @@ class FrameworkInfo(object): self.deployedInstallName, self.sourceFilePath, self.destinationDirectory) - + def isDylib(self): return self.frameworkName.endswith(".dylib") - + def isQtFramework(self): if self.isDylib(): return self.frameworkName.startswith("libQt") else: return self.frameworkName.startswith("Qt") - + reOLine = re.compile(r'^(.+) \(compatibility version [0-9.]+, current version [0-9.]+\)$') bundleFrameworkDirectory = "Contents/Frameworks" bundleBinaryDirectory = "Contents/MacOS" - + @classmethod def fromOtoolLibraryLine(cls, line): # Note: line must be trimmed if line == "": return None - + # Don't deploy system libraries (exception for libQtuitools and libQtlucene). if line.startswith("/System/Library/") or line.startswith("@executable_path") or (line.startswith("/usr/lib/") and "libQt" not in line): return None - + m = cls.reOLine.match(line) if m is None: raise RuntimeError("otool line could not be parsed: " + line) - + path = m.group(1) - + info = cls() info.sourceFilePath = path info.installName = path - + if path.endswith(".dylib"): dirname, filename = os.path.split(path) info.frameworkName = filename info.frameworkDirectory = dirname info.frameworkPath = path - + info.binaryDirectory = dirname info.binaryName = filename info.binaryPath = path info.version = "-" - + info.installName = path info.deployedInstallName = "@executable_path/../Frameworks/" + info.binaryName info.sourceFilePath = path @@ -130,32 +130,32 @@ class FrameworkInfo(object): i += 1 if i == len(parts): raise RuntimeError("Could not find .framework or .dylib in otool line: " + line) - + info.frameworkName = parts[i] info.frameworkDirectory = "/".join(parts[:i]) info.frameworkPath = os.path.join(info.frameworkDirectory, info.frameworkName) - + info.binaryName = parts[i+3] info.binaryDirectory = "/".join(parts[i+1:i+3]) info.binaryPath = os.path.join(info.binaryDirectory, info.binaryName) info.version = parts[i+2] - + info.deployedInstallName = "@executable_path/../Frameworks/" + os.path.join(info.frameworkName, info.binaryPath) info.destinationDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, info.binaryDirectory) - + info.sourceResourcesDirectory = os.path.join(info.frameworkPath, "Resources") info.sourceContentsDirectory = os.path.join(info.frameworkPath, "Contents") info.sourceVersionContentsDirectory = os.path.join(info.frameworkPath, "Versions", info.version, "Contents") info.destinationResourcesDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Resources") info.destinationContentsDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Contents") info.destinationVersionContentsDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Versions", info.version, "Contents") - + return info class ApplicationBundleInfo(object): def __init__(self, path): self.path = path - appName = "Litecoin-Qt" + appName = "Kevacoin-Qt" self.binaryPath = os.path.join(path, "Contents", "MacOS", appName) if not os.path.exists(self.binaryPath): raise RuntimeError("Could not find bundle binary for " + path) @@ -167,7 +167,7 @@ class DeploymentInfo(object): self.qtPath = None self.pluginPath = None self.deployedFrameworks = [] - + def detectQtPath(self, frameworkDirectory): parentDir = os.path.dirname(frameworkDirectory) if os.path.exists(os.path.join(parentDir, "translations")): @@ -186,7 +186,7 @@ class DeploymentInfo(object): pluginPath = os.path.join(self.qtPath, "plugins") if os.path.exists(pluginPath): self.pluginPath = pluginPath - + def usesFramework(self, name): nameDot = "%s." % name libNameDot = "lib%s." % name @@ -215,7 +215,7 @@ def getFrameworks(binaryPath, verbose): otoolLines.pop(0) # First line is the inspected binary if ".framework" in binaryPath or binaryPath.endswith(".dylib"): otoolLines.pop(0) # Frameworks and dylibs list themselves as a dependency. - + libraries = [] for line in otoolLines: line = line.replace("@loader_path", os.path.dirname(binaryPath)) @@ -225,7 +225,7 @@ def getFrameworks(binaryPath, verbose): print("Found framework:") print(info) libraries.append(info) - + return libraries def runInstallNameTool(action, *args): @@ -262,16 +262,16 @@ def copyFramework(framework, path, verbose): fromPath = framework.sourceFilePath toDir = os.path.join(path, framework.destinationDirectory) toPath = os.path.join(toDir, framework.binaryName) - + if not os.path.exists(fromPath): raise RuntimeError("No file at " + fromPath) - + if os.path.exists(toPath): return None # Already there - + if not os.path.exists(toDir): os.makedirs(toDir) - + shutil.copy2(fromPath, toPath) if verbose >= 3: print("Copied:", fromPath) @@ -313,53 +313,53 @@ def copyFramework(framework, path, verbose): if verbose >= 3: print("Copied for libQtGui:", qtMenuNibSourcePath) print(" to:", qtMenuNibDestinationPath) - + return toPath def deployFrameworks(frameworks, bundlePath, binaryPath, strip, verbose, deploymentInfo=None): if deploymentInfo is None: deploymentInfo = DeploymentInfo() - + while len(frameworks) > 0: framework = frameworks.pop(0) deploymentInfo.deployedFrameworks.append(framework.frameworkName) - + if verbose >= 2: print("Processing", framework.frameworkName, "...") - + # Get the Qt path from one of the Qt frameworks if deploymentInfo.qtPath is None and framework.isQtFramework(): deploymentInfo.detectQtPath(framework.frameworkDirectory) - + if framework.installName.startswith("@executable_path") or framework.installName.startswith(bundlePath): if verbose >= 2: print(framework.frameworkName, "already deployed, skipping.") continue - + # install_name_tool the new id into the binary changeInstallName(framework.installName, framework.deployedInstallName, binaryPath, verbose) - + # Copy framework to app bundle. deployedBinaryPath = copyFramework(framework, bundlePath, verbose) # Skip the rest if already was deployed. if deployedBinaryPath is None: continue - + if strip: runStrip(deployedBinaryPath, verbose) - + # install_name_tool it a new id. changeIdentification(framework.deployedInstallName, deployedBinaryPath, verbose) # Check for framework dependencies dependencies = getFrameworks(deployedBinaryPath, verbose) - + for dependency in dependencies: changeInstallName(dependency.installName, dependency.deployedInstallName, deployedBinaryPath, verbose) - + # Deploy framework if necessary. if dependency.frameworkName not in deploymentInfo.deployedFrameworks and dependency not in frameworks: frameworks.append(dependency) - + return deploymentInfo def deployFrameworksForAppBundle(applicationBundle, strip, verbose): @@ -440,30 +440,30 @@ def deployPlugins(appBundleInfo, deploymentInfo, strip, verbose): continue plugins.append((pluginDirectory, pluginName)) - + for pluginDirectory, pluginName in plugins: if verbose >= 2: print("Processing plugin", os.path.join(pluginDirectory, pluginName), "...") - + sourcePath = os.path.join(deploymentInfo.pluginPath, pluginDirectory, pluginName) destinationDirectory = os.path.join(appBundleInfo.pluginPath, pluginDirectory) if not os.path.exists(destinationDirectory): os.makedirs(destinationDirectory) - + destinationPath = os.path.join(destinationDirectory, pluginName) shutil.copy2(sourcePath, destinationPath) if verbose >= 3: print("Copied:", sourcePath) print(" to:", destinationPath) - + if strip: runStrip(destinationPath, verbose) - + dependencies = getFrameworks(destinationPath, verbose) - + for dependency in dependencies: changeInstallName(dependency.installName, dependency.deployedInstallName, destinationPath, verbose) - + # Deploy framework if necessary. if dependency.frameworkName not in deploymentInfo.deployedFrameworks: deployFrameworks([dependency], appBundleInfo.path, destinationPath, strip, verbose, deploymentInfo) @@ -541,7 +541,7 @@ if len(config.fancy) == 1: if verbose >= 1: sys.stderr.write("Error: Could not import plistlib which is required for fancy disk images.\n") sys.exit(1) - + p = config.fancy[0] if verbose >= 3: print("Fancy: Loading \"%s\"..." % p) @@ -549,14 +549,14 @@ if len(config.fancy) == 1: if verbose >= 1: sys.stderr.write("Error: Could not find fancy disk image plist at \"%s\"\n" % (p)) sys.exit(1) - + try: fancy = plistlib.readPlist(p) except: if verbose >= 1: sys.stderr.write("Error: Could not parse fancy disk image plist at \"%s\"\n" % (p)) sys.exit(1) - + try: assert "window_bounds" not in fancy or (isinstance(fancy["window_bounds"], list) and len(fancy["window_bounds"]) == 4) assert "background_picture" not in fancy or isinstance(fancy["background_picture"], str) @@ -570,7 +570,7 @@ if len(config.fancy) == 1: if verbose >= 1: sys.stderr.write("Error: Bad format of fancy disk image plist at \"%s\"\n" % (p)) sys.exit(1) - + if "background_picture" in fancy: bp = fancy["background_picture"] if verbose >= 3: @@ -591,7 +591,7 @@ else: if os.path.exists("dist"): if verbose >= 2: print("+ Removing old dist folder +") - + shutil.rmtree("dist") # ------------------------------------------------ @@ -603,7 +603,7 @@ else: # ------------------------------------------------ -target = os.path.join("dist", "Litecoin-Qt.app") +target = os.path.join("dist", "Kevacoin-Qt.app") if verbose >= 2: print("+ Copying source bundle +") @@ -638,7 +638,7 @@ except RuntimeError as e: if config.plugins: if verbose >= 2: print("+ Deploying plugins +") - + try: deployPlugins(applicationBundle, deploymentInfo, config.strip, verbose) except RuntimeError as e: @@ -741,26 +741,26 @@ if config.dmg is not None: elif verbose >= 3: hdiutil_args.append("-verbose") run = subprocess.check_call - + for key, value in kwargs.items(): hdiutil_args.append("-" + key) if not value is True: hdiutil_args.append(str(value)) - + return run(hdiutil_args) - + if verbose >= 2: if fancy is None: print("+ Creating .dmg disk image +") else: print("+ Preparing .dmg disk image +") - + if config.dmg != "": dmg_name = config.dmg else: spl = app_bundle_name.split(" ") dmg_name = spl[0] + "".join(p.capitalize() for p in spl[1:]) - + if fancy is None: try: runHDIUtil("create", dmg_name, srcfolder="dist", format="UDBZ", volname=volname, ov=True) @@ -774,28 +774,28 @@ if config.dmg is not None: for file in files: size += os.path.getsize(os.path.join(path, file)) size += int(size * 0.15) - + if verbose >= 3: print("Creating temp image for modification...") try: runHDIUtil("create", dmg_name + ".temp", srcfolder="dist", format="UDRW", size=size, volname=volname, ov=True) except subprocess.CalledProcessError as e: sys.exit(e.returncode) - + if verbose >= 3: print("Attaching temp image...") try: output = runHDIUtil("attach", dmg_name + ".temp", readwrite=True, noverify=True, noautoopen=True, capture_stdout=True) except subprocess.CalledProcessError as e: sys.exit(e.returncode) - + m = re.search("/Volumes/(.+$)", output.decode()) disk_root = m.group(0) disk_name = m.group(1) - + if verbose >= 2: print("+ Applying fancy settings +") - + if "background_picture" in fancy: bg_path = os.path.join(disk_root, ".background", os.path.basename(fancy["background_picture"])) os.mkdir(os.path.dirname(bg_path)) @@ -804,10 +804,10 @@ if config.dmg is not None: shutil.copy2(fancy["background_picture"], bg_path) else: bg_path = None - + if fancy.get("applications_symlink", False): os.symlink("/Applications", os.path.join(disk_root, "Applications")) - + # The Python appscript package broke with OSX 10.8 and isn't being fixed. # So we now build up an AppleScript string and use the osascript command # to make the .dmg file pretty: @@ -873,12 +873,12 @@ if config.dmg is not None: if verbose >= 2: print("+ Finalizing .dmg disk image +") time.sleep(5) - + try: runHDIUtil("convert", dmg_name + ".temp", format="UDBZ", o=dmg_name + ".dmg", ov=True) except subprocess.CalledProcessError as e: sys.exit(e.returncode) - + os.unlink(dmg_name + ".temp.dmg") # ------------------------------------------------ diff --git a/contrib/qos/README.md b/contrib/qos/README.md index d569b6a6f..7be4fc72c 100644 --- a/contrib/qos/README.md +++ b/contrib/qos/README.md @@ -1,5 +1,5 @@ ### Qos ### -This is a Linux bash script that will set up tc to limit the outgoing bandwidth for connections to the Litecoin network. It limits outbound TCP traffic with a source or destination port of 9333, but not if the destination IP is within a LAN (defined as 192.168.x.x). +This is a Linux bash script that will set up tc to limit the outgoing bandwidth for connections to the Kevacoin network. It limits outbound TCP traffic with a source or destination port of 9333, but not if the destination IP is within a LAN (defined as 192.168.x.x). -This means one can have an always-on litecoind instance running, and another local litecoind/litecoin-qt instance which connects to this node and receives blocks from it. +This means one can have an always-on kevacoind instance running, and another local kevacoind/kevacoin-qt instance which connects to this node and receives blocks from it. diff --git a/contrib/qos/tc.sh b/contrib/qos/tc.sh index 8f9bb7a8b..46410b224 100644 --- a/contrib/qos/tc.sh +++ b/contrib/qos/tc.sh @@ -6,7 +6,7 @@ IF="eth0" #limit of the network interface in question LINKCEIL="1gbit" -#limit outbound Litecoin protocol traffic to this rate +#limit outbound Kevacoin protocol traffic to this rate LIMIT="160kbit" #defines the address space for which you wish to disable rate limiting LOCALNET="192.168.0.0/16" diff --git a/contrib/seeds/generate-seeds.py b/contrib/seeds/generate-seeds.py index 322484578..68895cfe7 100755 --- a/contrib/seeds/generate-seeds.py +++ b/contrib/seeds/generate-seeds.py @@ -11,7 +11,7 @@ argument: nodes_main.txt nodes_test.txt -These files must consist of lines in the format +These files must consist of lines in the format : @@ -120,7 +120,7 @@ def main(): g.write('#ifndef BITCOIN_CHAINPARAMSSEEDS_H\n') g.write('#define BITCOIN_CHAINPARAMSSEEDS_H\n') g.write('/**\n') - g.write(' * List of fixed seed nodes for the litecoin network\n') + g.write(' * List of fixed seed nodes for the kevacoin network\n') g.write(' * AUTOGENERATED by contrib/seeds/generate-seeds.py\n') g.write(' *\n') g.write(' * Each line contains a 16-byte IPv6 address and a port.\n') @@ -132,7 +132,7 @@ def main(): with open(os.path.join(indir,'nodes_test.txt'),'r') as f: process_nodes(g, f, 'pnSeed6_test', 19335) g.write('#endif // BITCOIN_CHAINPARAMSSEEDS_H\n') - + if __name__ == '__main__': main() diff --git a/contrib/testgen/README.md b/contrib/testgen/README.md index 0858cdb13..a77466988 100644 --- a/contrib/testgen/README.md +++ b/contrib/testgen/README.md @@ -1,8 +1,8 @@ ### TestGen ### -Utilities to generate test vectors for the data-driven Litecoin tests. +Utilities to generate test vectors for the data-driven Kevacoin tests. -Usage: +Usage: gen_base58_test_vectors.py valid 50 > ../../src/test/data/base58_keys_valid.json gen_base58_test_vectors.py invalid 50 > ../../src/test/data/base58_keys_invalid.json \ No newline at end of file diff --git a/contrib/tidy_datadir.sh b/contrib/tidy_datadir.sh index 1f7d1373c..f1e33ab14 100755 --- a/contrib/tidy_datadir.sh +++ b/contrib/tidy_datadir.sh @@ -7,7 +7,7 @@ if [ -d "$1" ]; then cd "$1" || exit 1 else echo "Usage: $0 " >&2 - echo "Removes obsolete Litecoin database files" >&2 + echo "Removes obsolete Kevacoin database files" >&2 exit 1 fi @@ -19,22 +19,22 @@ if [ -f wallet.dat -a -f peers.dat -a -f chainstate/CURRENT -a -f blocks/index/C case $LEVEL in 0) - echo "Error: no Litecoin datadir detected." + echo "Error: no Kevacoin datadir detected." exit 1 ;; 1) - echo "Detected old Litecoin datadir (before 0.7)." + echo "Detected old Kevacoin datadir (before 0.7)." echo "Nothing to do." exit 0 ;; 2) - echo "Detected Litecoin 0.7 datadir." + echo "Detected Kevacoin 0.7 datadir." ;; 3) - echo "Detected Litecoin pre-0.8 datadir." + echo "Detected Kevacoin pre-0.8 datadir." ;; 4) - echo "Detected Litecoin 0.8 datadir." + echo "Detected Kevacoin 0.8 datadir." ;; esac diff --git a/contrib/windeploy/win-codesign.cert b/contrib/windeploy/win-codesign.cert index 363c132b5..b02e1b94e 100644 --- a/contrib/windeploy/win-codesign.cert +++ b/contrib/windeploy/win-codesign.cert @@ -1,7 +1,7 @@ Bag Attributes - friendlyName: Litecoin Foundation LTD.'s DigiCert Inc ID - localKeyID: 2F AA 3A 86 85 98 1A 53 D5 23 F0 2E A0 22 CC 51 21 6D 78 B0 -subject=/C=SG/L=Singapore/O=Litecoin Foundation LTD./CN=Litecoin Foundation LTD. + friendlyName: Kevacoin Foundation LTD.'s DigiCert Inc ID + localKeyID: 2F AA 3A 86 85 98 1A 53 D5 23 F0 2E A0 22 CC 51 21 6D 78 B0 +subject=/C=SG/L=Singapore/O=Kevacoin Foundation LTD./CN=Kevacoin Foundation LTD. issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Assured ID Code Signing CA -----BEGIN CERTIFICATE----- MIIFKjCCBBKgAwIBAgIQDvRXzQ2H3xYGUBDUDBeH/TANBgkqhkiG9w0BAQsFADBy diff --git a/contrib/zmq/zmq_sub.py b/contrib/zmq/zmq_sub.py index 23e6f3bef..d2533cd76 100755 --- a/contrib/zmq/zmq_sub.py +++ b/contrib/zmq/zmq_sub.py @@ -7,7 +7,7 @@ ZMQ example using python3's asyncio Litecoind should be started with the command line arguments: - litecoind -testnet -daemon \ + kevacoind -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 c3f286855..7c3bcc59a 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 - Litecoin should be started with the command line arguments: - litecoind -testnet -daemon \ + Kevacoin should be started with the command line arguments: + kevacoind -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/depends/README.md b/depends/README.md index 74da0ca0f..6f2c884a1 100644 --- a/depends/README.md +++ b/depends/README.md @@ -12,9 +12,9 @@ For example: make HOST=x86_64-w64-mingw32 -j4 -A prefix will be generated that's suitable for plugging into Litecoin's +A prefix will be generated that's suitable for plugging into Kevacoin's configure. In the above example, a dir named x86_64-w64-mingw32 will be -created. To use it for Litecoin: +created. To use it for Kevacoin: ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32 @@ -59,7 +59,7 @@ The following can be set when running make: make FOO=bar BUILD_ID_SALT: Optional salt to use when generating build package ids If some packages are not built, for example `make NO_WALLET=1`, the appropriate -options will be passed to litecoin's configure. In this case, `--disable-wallet`. +options will be passed to kevacoin's configure. In this case, `--disable-wallet`. Additional targets: diff --git a/depends/description.md b/depends/description.md index 0980f815b..946bc0eda 100644 --- a/depends/description.md +++ b/depends/description.md @@ -1,4 +1,4 @@ -This is a system of building and caching dependencies necessary for building Litecoin. +This is a system of building and caching dependencies necessary for building Kevacoin. There are several features that make it different from most similar systems: ### It is designed to be builder and host agnostic @@ -26,7 +26,7 @@ Before building, a unique build-id is generated for each package. This id consists of a hash of all files used to build the package (Makefiles, packages, etc), and as well as a hash of the same data for each recursive dependency. If any portion of a package's build recipe changes, it will be rebuilt as well as -any other package that depends on it. If any of the main makefiles (Makefile, +any other package that depends on it. If any of the main makefiles (Makefile, funcs.mk, etc) are changed, all packages will be rebuilt. After building, the results are cached into a tarball that can be re-used and distributed. diff --git a/doc/README_osx.md b/doc/README_osx.md index e2e2ca825..e29f0a7bf 100644 --- a/doc/README_osx.md +++ b/doc/README_osx.md @@ -92,6 +92,6 @@ build process to remain somewhat deterministic. Here's how it works: that have been previously (deterministically) built in order to create a final dmg. - The Apple keyholder uses this unsigned app to create a detached signature, - using the script that is also included there. Detached signatures are available from this [repository](https://github.com/litecoin-project/litecoin-detached-sigs). + using the script that is also included there. Detached signatures are available from this [repository](https://github.com/kevacoin-project/kevacoin-detached-sigs). - Builders feed the unsigned app + detached signature back into Gitian. It uses the pre-built tools to recombine the pieces into a deterministic dmg. diff --git a/doc/README_windows.txt b/doc/README_windows.txt index d3885952b..d128aa07b 100644 --- a/doc/README_windows.txt +++ b/doc/README_windows.txt @@ -1,9 +1,9 @@ -Litecoin Core +Kevacoin Core ============= Intro ----- -Litecoin is a free open source peer-to-peer electronic cash system that is +Kevacoin is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending. @@ -11,13 +11,13 @@ with each other, with the help of a P2P network to check for double-spending. Setup ----- -Unpack the files into a directory and run litecoin-qt.exe. +Unpack the files into a directory and run kevacoin-qt.exe. -Litecoin Core is the original Litecoin client and it builds the backbone of the network. -However, it downloads and stores the entire history of Litecoin transactions; +Kevacoin Core is the original Kevacoin client and it builds the backbone of the network. +However, it downloads and stores the entire history of Kevacoin transactions; depending on the speed of your computer and network connection, the synchronization process can take anywhere from a few hours to a day or more. -See the litecoin wiki at: - https://litecoin.info/ +See the kevacoin wiki at: + https://kevacoin.info/ for more help and information. diff --git a/doc/REST-interface.md b/doc/REST-interface.md index 17d2417b7..23a0ed5f5 100644 --- a/doc/REST-interface.md +++ b/doc/REST-interface.md @@ -67,7 +67,7 @@ $ curl localhost:19332/rest/getutxos/checkmempool/b2cdfd7b89def827ff8af7cd9bff76 { "txvers" : 1 "height" : 2147483647, - "value" : 8.8687, + "value" : 8.8687, "scriptPubKey" : { "asm" : "OP_DUP OP_HASH160 1c7cebb529b86a04c683dfa87be49de35bcf589e OP_EQUALVERIFY OP_CHECKSIG", "hex" : "76a9141c7cebb529b86a04c683dfa87be49de35bcf589e88ac", @@ -100,4 +100,4 @@ Only supports JSON as output format. Risks ------------- -Running a web browser on the same node with a REST enabled litecoind can be a risk. Accessing prepared XSS websites could read out tx/block data of your node by placing links like `