diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 8a0754476..04611094f 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/.gitignore b/.gitignore index 0823df294..374b15f37 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,13 @@ *.tar.gz *.exe -src/litecoin -src/litecoind -src/litecoin-cli -src/litecoin-tx -src/test/test_litecoin -src/test/test_litecoin_fuzzy -src/qt/test/test_litecoin-qt +src/anoncoin +src/anoncoind +src/anoncoin-cli +src/anoncoin-tx +src/test/test_anoncoin +src/test/test_anoncoin_fuzzy +src/qt/test/test_anoncoin-qt # autoreconf Makefile.in @@ -30,6 +30,8 @@ config.log config.status configure libtool +src/config/anoncoin-config.h +src/config/anoncoin-config.h.in src/config/bitcoin-config.h src/config/bitcoin-config.h.in src/config/stamp-h1 @@ -44,11 +46,11 @@ src/qt/forms/ui_*.h src/qt/test/moc*.cpp -src/qt/bitcoin-qt.config -src/qt/bitcoin-qt.creator -src/qt/bitcoin-qt.creator.user -src/qt/bitcoin-qt.files -src/qt/bitcoin-qt.includes +src/qt/anoncoin-qt.config +src/qt/anoncoin-qt.creator +src/qt/anoncoin-qt.creator.user +src/qt/anoncoin-qt.files +src/qt/anoncoin-qt.includes .deps .dirstamp @@ -80,25 +82,26 @@ src/qt/bitcoin-qt.includes # Compilation and Qt preprocessor part *.qm Makefile -litecoin-qt -litecoin-Qt.app +anoncoin-qt +anoncoin-Qt.app background.tiff* # Unit-tests Makefile.test -litecoin-qt_test +anoncoin-qt_test # Resources cpp qrc_*.cpp # Mac specific .DS_Store build +.vscode #lcov *.gcno *.gcda /*.info -test_litecoin.coverage/ +test_anoncoin.coverage/ total.coverage/ coverage_percent.txt @@ -109,9 +112,11 @@ win32-build test/config.ini test/cache/* + !src/leveldb*/Makefile /doc/doxygen/ +libanoncoinconsensus.pc libbitcoinconsensus.pc contrib/devtools/split-debug.sh diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..e9c9bb6f8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "i2pd"] + path = i2pd + url = https://github.com/PurpleI2P/i2pd.git diff --git a/.travis.yml b/.travis.yml index b191ed0c5..e5f2c90ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ install: - if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get update; fi - if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES; fi - if [ "$CHECK_DOC" = 1 -a "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then travis_retry pip3 install flake8 --user; fi - - if [ "$LITECOIN_SCRYPT" = 1 ]; then travis_retry sudo pip3 install litecoin_scrypt --allow-external litecoin_scrypt; fi + - if [ "$LITECOIN_SCRYPT" = 1 ]; then travis_retry sudo pip3 install anoncoin_scrypt --allow-external anoncoin_scrypt; fi before_script: - if [ "$CHECK_DOC" = 1 -a "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then contrib/devtools/commit-script-check.sh $TRAVIS_COMMIT_RANGE; fi - if [ "$CHECK_DOC" = 1 ]; then contrib/devtools/git-subtree-check.sh src/crypto/ctaes; fi @@ -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" = "anoncoin-project/anoncoin" -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" = "anoncoin-project/anoncoin" -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 anoncoin-$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..4ecbd3325 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,7 @@ -Contributing to Litecoin Core +Contributing to Anoncoin Core ============================ -The Litecoin Core project operates an open contributor model where anyone is +The Anoncoin 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 anoncoin-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 anoncoin 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. @@ -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 Anoncoin Core project (and related +projects such as libsecp256k1), and is not to be confused with overall Anoncoin 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 Anoncoin 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 Anoncoin 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 Anoncoin 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,7 +272,7 @@ about: Release Policy -------------- -The project leader is the release manager for each Litecoin Core release. +The project leader is the release manager for each Anoncoin Core release. Copyright --------- diff --git a/COPYING b/COPYING index 9700e9e16..6771cb89e 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 Anoncoin 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 be23c6088..0653eb117 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,5 +1,5 @@ -Building Litecoin +Building Anoncoin ================ See doc/build-*.md for instructions on building the various -elements of the Litecoin Core reference implementation of Litecoin. +elements of the Anoncoin Core reference implementation of Anoncoin. diff --git a/Makefile.am b/Makefile.am index a06138a8a..c5b0d0cb7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,7 +13,7 @@ export PYTHONPATH if BUILD_BITCOIN_LIBS pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libbitcoinconsensus.pc +pkgconfig_DATA = libanoncoinconsensus.pc endif BITCOIND_BIN=$(top_builddir)/src/$(BITCOIN_DAEMON_NAME)$(EXEEXT) @@ -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=Anoncoin-Qt.app OSX_VOLNAME = $(subst $(space),-,$(PACKAGE_NAME)) OSX_DMG = $(OSX_VOLNAME).dmg OSX_BACKGROUND_SVG=background.svg @@ -33,14 +33,14 @@ OSX_BACKGROUND_IMAGE_DPIS=36 72 OSX_DSSTORE_GEN=$(top_srcdir)/contrib/macdeploy/custom_dsstore.py OSX_DEPLOY_SCRIPT=$(top_srcdir)/contrib/macdeploy/macdeployqtplus OSX_FANCY_PLIST=$(top_srcdir)/contrib/macdeploy/fancy.plist -OSX_INSTALLER_ICONS=$(top_srcdir)/src/qt/res/icons/bitcoin.icns +OSX_INSTALLER_ICONS=$(top_srcdir)/src/qt/res/icons/anoncoin.icns OSX_PLIST=$(top_builddir)/share/qt/Info.plist #not installed OSX_QT_TRANSLATIONS = da,de,es,hu,ru,uk,zh_CN,zh_TW DIST_DOCS = $(wildcard doc/*.md) $(wildcard doc/release-notes/*.md) -DIST_CONTRIB = $(top_srcdir)/contrib/bitcoin-cli.bash-completion \ - $(top_srcdir)/contrib/bitcoin-tx.bash-completion \ - $(top_srcdir)/contrib/bitcoind.bash-completion \ +DIST_CONTRIB = $(top_srcdir)/contrib/anoncoin-cli.bash-completion \ + $(top_srcdir)/contrib/anoncoin-tx.bash-completion \ + $(top_srcdir)/contrib/anoncoind.bash-completion \ $(top_srcdir)/contrib/init \ $(top_srcdir)/contrib/install_db4.sh \ $(top_srcdir)/contrib/rpm @@ -91,11 +91,11 @@ $(OSX_APP)/Contents/Info.plist: $(OSX_PLIST) $(MKDIR_P) $(@D) $(INSTALL_DATA) $< $@ -$(OSX_APP)/Contents/Resources/bitcoin.icns: $(OSX_INSTALLER_ICONS) +$(OSX_APP)/Contents/Resources/anoncoin.icns: $(OSX_INSTALLER_ICONS) $(MKDIR_P) $(@D) $(INSTALL_DATA) $< $@ -$(OSX_APP)/Contents/MacOS/Litecoin-Qt: $(BITCOIN_QT_BIN) +$(OSX_APP)/Contents/MacOS/Anoncoin-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/Anoncoin-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/Anoncoin-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/Anoncoin-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 ad95a1d58..5a988f211 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,42 @@ -Litecoin Core integration/staging tree +Anoncoin Core integration/staging tree ===================================== -[![Build Status](https://travis-ci.org/litecoin-project/litecoin.svg?branch=master)](https://travis-ci.org/litecoin-project/litecoin) +[![Build Status](https://travis-ci.org/anoncoin-project/anoncoin.svg?branch=master)](https://travis-ci.org/anoncoin-project/anoncoin) -https://litecoin.org +https://anoncoin.org -What is Litecoin? +What is Anoncoin? ---------------- -Litecoin is an experimental digital currency that enables instant payments to -anyone, anywhere in the world. Litecoin uses peer-to-peer technology to operate +Anoncoin is an experimental digital currency that enables instant payments to +anyone, anywhere in the world. Anoncoin uses peer-to-peer technology to operate with no central authority: managing transactions and issuing money are carried -out collectively by the network. Litecoin Core is the name of open source +out collectively by the network. Anoncoin Core is the name of open source software which enables the use of this currency. For more information, as well as an immediately useable, binary version of -the Litecoin Core software, see [https://litecoin.org](https://litecoin.org). +the Anoncoin Core software, see [https://anoncoin.org](https://anoncoin.org). License ------- -Litecoin Core is released under the terms of the MIT license. See [COPYING](COPYING) for more +Anoncoin Core is released under the terms of the MIT license. See [COPYING](COPYING) for more information or see https://opensource.org/licenses/MIT. Development Process ------------------- The `master` branch is regularly built and tested, but is not guaranteed to be -completely stable. [Tags](https://github.com/litecoin-project/litecoin/tags) are created -regularly to indicate new official, stable release versions of Litecoin Core. +completely stable. [Tags](https://github.com/anoncoin-project/anoncoin/tags) are created +regularly to indicate new official, stable release versions of Anoncoin Core. The contribution workflow is described in [CONTRIBUTING.md](CONTRIBUTING.md). -The developer [mailing list](https://groups.google.com/forum/#!forum/litecoin-dev) +The developer [mailing list](https://groups.google.com/forum/#!forum/anoncoin-dev) should be used to discuss complicated or controversial changes before working on a patch set. -Developer IRC can be found on Freenode at #litecoin-dev. +Developer IRC can be found on Freenode at #anoncoin-dev. Testing ------- @@ -70,7 +70,7 @@ Translations ------------ We only accept translation fixes that are submitted through [Bitcoin Core's Transifex page](https://www.transifex.com/projects/p/bitcoin/). -Translations are converted to Litecoin periodically. +Translations are converted to Anoncoin periodically. Translations are periodically pulled from Transifex and merged into the git repository. See the [translation process](doc/translation_process.md) for details on how this works. diff --git a/build-aux/m4/bitcoin_qt.m4 b/build-aux/m4/bitcoin_qt.m4 index c4fdd3065..01080df80 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; anoncoin-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 anoncoin-qt GUI (default=auto, qt5 tried first)])], [ bitcoin_qt_want_version=$withval if test "x$bitcoin_qt_want_version" = xyes; then diff --git a/configure.ac b/configure.ac index 3a3ebcd8c..a1b4a6db3 100644 --- a/configure.ac +++ b/configure.ac @@ -7,17 +7,17 @@ define(_CLIENT_VERSION_BUILD, 0) define(_CLIENT_VERSION_IS_RELEASE, true) define(_COPYRIGHT_YEAR, 2018) define(_COPYRIGHT_HOLDERS,[The %s developers]) -define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Litecoin Core]]) -AC_INIT([Litecoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[https://github.com/litecoin-project/litecoin/issues],[litecoin],[https://litecoin.org/]) +define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Anoncoin Core]]) +AC_INIT([Anoncoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[https://github.com/anoncoin-project/anoncoin/issues],[anoncoin],[https://anoncoin.org/]) AC_CONFIG_SRCDIR([src/validation.cpp]) -AC_CONFIG_HEADERS([src/config/bitcoin-config.h]) +AC_CONFIG_HEADERS([src/config/anoncoin-config.h]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([build-aux/m4]) -BITCOIN_DAEMON_NAME=litecoind -BITCOIN_GUI_NAME=litecoin-qt -BITCOIN_CLI_NAME=litecoin-cli -BITCOIN_TX_NAME=litecoin-tx +BITCOIN_DAEMON_NAME=anoncoind +BITCOIN_GUI_NAME=anoncoin-qt +BITCOIN_CLI_NAME=anoncoin-cli +BITCOIN_TX_NAME=anoncoin-tx dnl Unless the user specified ARFLAGS, force it to be cr AC_ARG_VAR(ARFLAGS, [Flags for the archiver, defaults to if not set]) @@ -103,6 +103,20 @@ AC_ARG_ENABLE([wallet], [enable_wallet=$enableval], [enable_wallet=yes]) + +AC_ARG_ENABLE([i2pd], + [AS_HELP_STRING([--disable-i2pd], + [disable i2pd (enabled by default)])], + [enable_i2pd=$enableval], + [enable_i2pd=yes]) + +AC_ARG_ENABLE([i2psam], + [AS_HELP_STRING([--disable-i2psam], + [disable i2psam (enabled by default)])], + [enable_i2psam=$enableval], + [enable_i2psam=yes]) + + AC_ARG_WITH([miniupnpc], [AS_HELP_STRING([--with-miniupnpc], [enable UPNP (default is yes if libminiupnpc is found)])], @@ -299,7 +313,7 @@ CPPFLAGS="$CPPFLAGS -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS" AC_ARG_WITH([utils], [AS_HELP_STRING([--with-utils], - [build litecoin-cli bitcoin-tx (default=yes)])], + [build anoncoin-cli anoncoin-tx (default=yes)])], [build_bitcoin_utils=$withval], [build_bitcoin_utils=yes]) @@ -311,7 +325,7 @@ AC_ARG_WITH([libs], AC_ARG_WITH([daemon], [AS_HELP_STRING([--with-daemon], - [build litecoind daemon (default=yes)])], + [build anoncoind daemon (default=yes)])], [build_bitcoind=$withval], [build_bitcoind=yes]) @@ -511,7 +525,7 @@ AC_C_BIGENDIAN dnl Check for pthread compile/link requirements AX_PTHREAD -# The following macro will add the necessary defines to bitcoin-config.h, but +# The following macro will add the necessary defines to anoncoin-config.h, but # they also need to be passed down to any subprojects. Pull the results out of # the cache and add them to CPPFLAGS. AC_SYS_LARGEFILE @@ -771,7 +785,7 @@ define(MINIMUM_REQUIRED_BOOST, 1.47.0) dnl Check for boost libs AX_BOOST_BASE([MINIMUM_REQUIRED_BOOST]) if test x$want_boost = xno; then - AC_MSG_ERROR([[only libbitcoinconsensus can be built without boost]]) + AC_MSG_ERROR([[only libanoncoinconsensus can be built without boost]]) fi AX_BOOST_SYSTEM AX_BOOST_FILESYSTEM @@ -1066,11 +1080,11 @@ AC_SUBST(UNIVALUE_LIBS) BITCOIN_QT_PATH_PROGS([PROTOC], [protoc],$protoc_bin_path) -AC_MSG_CHECKING([whether to build litecoind]) +AC_MSG_CHECKING([whether to build anoncoind]) AM_CONDITIONAL([BUILD_BITCOIND], [test x$build_bitcoind = xyes]) AC_MSG_RESULT($build_bitcoind) -AC_MSG_CHECKING([whether to build utils (litecoin-cli litecoin-tx)]) +AC_MSG_CHECKING([whether to build utils (anoncoin-cli anoncoin-tx)]) AM_CONDITIONAL([BUILD_BITCOIN_UTILS], [test x$build_bitcoin_utils = xyes]) AC_MSG_RESULT($build_bitcoin_utils) @@ -1078,7 +1092,7 @@ AC_MSG_CHECKING([whether to build libraries]) AM_CONDITIONAL([BUILD_BITCOIN_LIBS], [test x$build_bitcoin_libs = xyes]) if test x$build_bitcoin_libs = xyes; then AC_DEFINE(HAVE_CONSENSUS_LIB, 1, [Define this symbol if the consensus lib has been built]) - AC_CONFIG_FILES([libbitcoinconsensus.pc:libbitcoinconsensus.pc.in]) + AC_CONFIG_FILES([libanoncoinconsensus.pc:libanoncoinconsensus.pc.in]) fi AC_MSG_RESULT($build_bitcoin_libs) @@ -1113,6 +1127,25 @@ else AC_MSG_RESULT(no) fi + +AC_MSG_CHECKING([if i2pd should be enabled]) +if test x$enable_i2pd != xno; then + AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED([ENABLE_I2PD],[1],[Define to 1 to enable i2pd functions]) + +else + AC_MSG_RESULT(no) +fi +AC_MSG_CHECKING([if i2psam should be enabled]) +if test x$enable_i2psam != xno; then + AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED([ENABLE_I2PSAM],[1],[Define to 1 to enable i2psam functions]) + +else + AC_MSG_RESULT(no) +fi + + dnl enable upnp support AC_MSG_CHECKING([whether to build with support for UPnP]) if test x$have_miniupnpc = xno; then @@ -1171,7 +1204,7 @@ if test x$bitcoin_enable_qt != xno; then AC_MSG_WARN("xgettext is required to update qt translations") fi - AC_MSG_CHECKING([whether to build test_litecoin-qt]) + AC_MSG_CHECKING([whether to build test_anoncoin-qt]) if test x$use_gui_tests$bitcoin_enable_qt_test = xyesyes; then AC_MSG_RESULT([yes]) BUILD_TEST_QT="yes" @@ -1182,7 +1215,7 @@ fi AM_CONDITIONAL([ENABLE_ZMQ], [test "x$use_zmq" = "xyes"]) -AC_MSG_CHECKING([whether to build test_litecoin]) +AC_MSG_CHECKING([whether to build test_anoncoin]) if test x$use_tests = xyes; then AC_MSG_RESULT([yes]) BUILD_TEST="yes" @@ -1216,6 +1249,8 @@ AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin]) AM_CONDITIONAL([BUILD_DARWIN], [test x$BUILD_OS = xdarwin]) AM_CONDITIONAL([TARGET_WINDOWS], [test x$TARGET_OS = xwindows]) AM_CONDITIONAL([ENABLE_WALLET],[test x$enable_wallet = xyes]) +AM_CONDITIONAL([ENABLE_I2PSAM],[test x$enable_i2psam = xyes]) +AM_CONDITIONAL([ENABLE_I2PD],[test x$enable_i2pd = xyes]) AM_CONDITIONAL([ENABLE_TESTS],[test x$BUILD_TEST = xyes]) AM_CONDITIONAL([ENABLE_QT],[test x$bitcoin_enable_qt = xyes]) AM_CONDITIONAL([ENABLE_QT_TESTS],[test x$BUILD_TEST_QT = xyes]) @@ -1342,6 +1377,8 @@ if test x$bitcoin_enable_qt != xno; then echo " qt version = $bitcoin_qt_got_major_vers" echo " with qr = $use_qr" fi +echo " i2psam = $enable_i2psam" +echo " i2pd built-in = $enable_i2pd" echo " with zmq = $use_zmq" echo " with test = $use_tests" echo " with bench = $use_bench" diff --git a/contrib/README.md b/contrib/README.md index 613da989a..722d17a21 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 Anoncoin network. This means one can have an always-on anoncoind instance running, and another local anoncoind/anoncoin-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,20 +22,20 @@ 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 anoncoind/anoncoin-qt +for Debian-based Linux systems. If you compile anoncoind/anoncoin-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 Anoncoin Core [Gitian release](/doc/release-process.md) results. ### [MacDeploy](/contrib/macdeploy) ### Scripts and notes for Mac builds. ### [RPM](/contrib/rpm) ### -RPM spec file for building blitecoin-core on RPM based distributions. +RPM spec file for building banoncoin-core on RPM based distributions. ### [Gitian-build](/contrib/gitian-build.sh) ### Script for running full Gitian builds. @@ -44,7 +44,7 @@ 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 Anoncoin 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 anoncoin.org. diff --git a/contrib/debian/rules b/contrib/debian/rules index 6885e3852..d611c2888 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -10,7 +10,7 @@ override_dh_auto_clean: if [ -f Makefile ]; then $(MAKE) distclean; fi - rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/bitcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in + rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/anoncoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in QT=$(shell dpkg-vendor --derives-from Ubuntu && echo qt4 || echo qt5) diff --git a/contrib/devtools/gen-manpages.sh b/contrib/devtools/gen-manpages.sh index 856d0882d..98123cf5e 100755 --- a/contrib/devtools/gen-manpages.sh +++ b/contrib/devtools/gen-manpages.sh @@ -4,15 +4,15 @@ 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/anoncoind} +LITECOINCLI=${LITECOINCLI:-$SRCDIR/anoncoin-cli} +LITECOINTX=${LITECOINTX:-$SRCDIR/anoncoin-tx} +LITECOINQT=${LITECOINQT:-$SRCDIR/qt/anoncoin-qt} [ ! -x $LITECOIND ] && echo "$LITECOIND not found or not executable." && exit 1 # The autodetected version git tag can screw up manpage output a little bit -LTCVER=($($LITECOINCLI --version | head -n1 | awk -F'[ -]' '{ print $6, $7 }')) +ANCVER=($($LITECOINCLI --version | head -n1 | awk -F'[ -]' '{ print $6, $7 }')) # Create a footer file with copyright content. # This gets autodetected fine for bitcoind if --version-string is not set, @@ -22,8 +22,8 @@ $LITECOIND --version | sed -n '1!p' >> footer.h2m for cmd in $LITECOIND $LITECOINCLI $LITECOINTX $LITECOINQT; do cmdname="${cmd##*/}" - help2man -N --version-string=${LTCVER[0]} --include=footer.h2m -o ${MANDIR}/${cmdname}.1 ${cmd} - sed -i "s/\\\-${LTCVER[1]}//g" ${MANDIR}/${cmdname}.1 + help2man -N --version-string=${ANCVER[0]} --include=footer.h2m -o ${MANDIR}/${cmdname}.1 ${cmd} + sed -i "s/\\\-${ANCVER[1]}//g" ${MANDIR}/${cmdname}.1 done rm -f footer.h2m diff --git a/contrib/gitian-build.sh b/contrib/gitian-build.sh index f9ed53096..b066a4e82 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/anoncoin-project/anoncoin 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 anoncoin, gitian-builder, gitian.sigs.anc, and anoncoin-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/anoncoin-project/anoncoin -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/anoncoin-project/gitian.sigs.anc.git + git clone https://github.com/anoncoin-project/anoncoin-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 ./anoncoin git fetch git checkout ${COMMIT} popd @@ -253,7 +253,7 @@ popd if [[ $build = true ]] then # Make output folder - mkdir -p ./litecoin-binaries/${VERSION} + mkdir -p ./anoncoin-binaries/${VERSION} # Build Dependencies echo "" @@ -263,7 +263,7 @@ then 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 ../anoncoin/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 anoncoin=${COMMIT} --url anoncoin=${url} ../anoncoin/contrib/gitian-descriptors/gitian-linux.yml + ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs.anc/ ../anoncoin/contrib/gitian-descriptors/gitian-linux.yml + mv build/out/anoncoin-*.tar.gz build/out/src/anoncoin-*.tar.gz ../anoncoin-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 anoncoin=${COMMIT} --url anoncoin=${url} ../anoncoin/contrib/gitian-descriptors/gitian-win.yml + ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs.anc/ ../anoncoin/contrib/gitian-descriptors/gitian-win.yml + mv build/out/anoncoin-*-win-unsigned.tar.gz inputs/anoncoin-win-unsigned.tar.gz + mv build/out/anoncoin-*.zip build/out/anoncoin-*.exe ../anoncoin-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 anoncoin=${COMMIT} --url anoncoin=${url} ../anoncoin/contrib/gitian-descriptors/gitian-osx.yml + ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs.anc/ ../anoncoin/contrib/gitian-descriptors/gitian-osx.yml + mv build/out/anoncoin-*-osx-unsigned.tar.gz inputs/anoncoin-osx-unsigned.tar.gz + mv build/out/anoncoin-*.tar.gz build/out/anoncoin-*.dmg ../anoncoin-binaries/${VERSION} fi popd @@ -322,27 +322,27 @@ 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.anc/ -r ${VERSION}-linux ../anoncoin/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 + ./bin/gverify -v -d ../gitian.sigs.anc/ -r ${VERSION}-win-unsigned ../anoncoin/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 + ./bin/gverify -v -d ../gitian.sigs.anc/ -r ${VERSION}-osx-unsigned ../anoncoin/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.anc/ -r ${VERSION}-osx-signed ../anoncoin/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.anc/ -r ${VERSION}-osx-signed ../anoncoin/contrib/gitian-descriptors/gitian-osx-signer.yml popd fi @@ -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} ../anoncoin/contrib/gitian-descriptors/gitian-win-signer.yml + ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-win-signed --destination ../gitian.sigs.anc/ ../anoncoin/contrib/gitian-descriptors/gitian-win-signer.yml + mv build/out/anoncoin-*win64-setup.exe ../anoncoin-binaries/${VERSION} + mv build/out/anoncoin-*win32-setup.exe ../anoncoin-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} ../anoncoin/contrib/gitian-descriptors/gitian-osx-signer.yml + ./bin/gsign -p $signProg --signer $SIGNER --release ${VERSION}-osx-signed --destination ../gitian.sigs.anc/ ../anoncoin/contrib/gitian-descriptors/gitian-osx-signer.yml + mv build/out/anoncoin-osx-signed.dmg ../anoncoin-binaries/${VERSION}/anoncoin-${VERSION}-osx.dmg fi popd diff --git a/contrib/gitian-descriptors/gitian-linux.yml b/contrib/gitian-descriptors/gitian-linux.yml index 8bd0dc403..5ffd947b3 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: "anoncoin-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/anoncoin-project/anoncoin.git" + "dir": "anoncoin" files: [] script: | @@ -113,7 +113,7 @@ script: | chmod +x ${WRAP_DIR}/${prog} done - cd litecoin + cd anoncoin 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 anoncoin-*.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 anoncoin-* | 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) @@ -182,13 +182,13 @@ script: | find . -name "lib*.a" -delete rm -rf ${DISTNAME}/lib/pkgconfig - # Litecoin: Delete libbitcoin from binary distribution for now, see #192 + # Anoncoin: Delete libbitcoin from binary distribution for now, see #192 rm -rf ${DISTNAME}/lib/ rm -rf ${DISTNAME}/include/ - # Litecoin: ends + # Anoncoin: 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 \; # Anoncoin: 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..66b3c21f5 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: "anoncoin-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/anoncoin-project/anoncoin-detached-sigs.git" "dir": "signature" files: -- "litecoin-osx-unsigned.tar.gz" +- "anoncoin-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=anoncoin-osx-unsigned.tar.gz + SIGNED=anoncoin-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..70dbe57fc 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: "anoncoin-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/anoncoin-project/anoncoin.git" + "dir": "anoncoin" 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 anoncoin 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 anoncoin-*.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 anoncoin-* | 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..811388ced 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: "anoncoin-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/anoncoin-project/anoncoin-detached-sigs.git" "dir": "signature" files: - "osslsigncode-1.7.1.tar.gz" - "osslsigncode-Backports-to-1.7.1.patch" -- "litecoin-win-unsigned.tar.gz" +- "anoncoin-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 anoncoin-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..45f7a8854 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: "anoncoin-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/anoncoin-project/anoncoin.git" + "dir": "anoncoin" 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 anoncoin 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 anoncoin-*.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 anoncoin-* | 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 anoncoin-*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/anoncoin-*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/gitian-keys/coblee-key.pgp b/contrib/gitian-keys/coblee-key.pgp index 8efbdaf94..ff52c0826 100644 --- a/contrib/gitian-keys/coblee-key.pgp +++ b/contrib/gitian-keys/coblee-key.pgp @@ -113,4 +113,4 @@ VrIAFCpt1F/R+/aY+gPO9Cu+ZuJY/XKSkUqrupqrXgc1KAtkfLEc3JuirG9rbJWD LR0kStjiczm4zW3CTzS4UwF3a5vPlMyftAvOF+/895E8HzrO3lpT6/SwUDPUTEmv 3ktcq4L0ZiX3uBiBnagbi4RREILfVk4vo5kBKxymtUB8mUtVL19rR0zwINuZ =teP+ ------END PGP PUBLIC KEY BLOCK----- \ No newline at end of file +-----END PGP PUBLIC KEY BLOCK----- diff --git a/contrib/gitian-keys/jonasschnelli-key.pgp b/contrib/gitian-keys/jonasschnelli-key.pgp index 3831eaea1..f51e0efb2 100644 --- a/contrib/gitian-keys/jonasschnelli-key.pgp +++ b/contrib/gitian-keys/jonasschnelli-key.pgp @@ -107,4 +107,4 @@ WJfpU4Kc1KJeKdp+l9gf2JD8eOZAlwxA4r2wxyzoCVg1Bk3XiBfoI7Gl78Wysp+/ ChQcErPJWEUglBfrESpqmjxH/qSy6yjyNmd4Az2ii7IzWILfuheZR4drjHQj6mCA S5rowLE= =ZVPf ------END PGP PUBLIC KEY BLOCK----- \ No newline at end of file +-----END PGP PUBLIC KEY BLOCK----- diff --git a/contrib/gitian-keys/petertodd-key.pgp b/contrib/gitian-keys/petertodd-key.pgp index 5ee82a6f7..d294406cf 100644 --- a/contrib/gitian-keys/petertodd-key.pgp +++ b/contrib/gitian-keys/petertodd-key.pgp @@ -2,7 +2,7 @@ mQENBE+Xo6MBCACpPhm2zLk6G65vB8OfG04VyBus9Ht9jHhI0rMQ6Orai9luo0Fb CPZGljnpi9GSrm6nG15aDtG84cjTVatJ3wmoAPDmcq/QPTaeEAY28us9QN4Fsqw0 -emJqiaQez9pd/5BYtOSG8vLZpAxXfnOgDH/YK6u9WdoX7/RgTAltcoGazmyJHZHj +emJqiaQez9pd/5BYtOSG8vLZpAxXfnOgDH/YK6u9WdoX7/RgTAancoGazmyJHZHj VzB5OoZzakuWDALdHAw40i3RO5KpjS+BetQPRH0nV8dW/56aZWFk8scIhhMWTEFM 5GZ2d0qz4lyfxqoGdpsDYqh9iakWz8ppFy19BC/XYxQhAaGb4abdQlw/CZ0ShWzW 1RnlLJpAp7cC31mR541x+EJjPW9o9+JrUBlVABEBAAG0H1BldGVyIFRvZGQgPHBl diff --git a/contrib/gitian-keys/thrasher-key.pgp b/contrib/gitian-keys/thrasher-key.pgp index b26780ca5..722b6f54d 100644 --- a/contrib/gitian-keys/thrasher-key.pgp +++ b/contrib/gitian-keys/thrasher-key.pgp @@ -45,4 +45,4 @@ pUO1hYUhUzSZYVFUjM/ncPJih+VMT/3+kB4iY/SceNTx85gJSnucL+mXDuZTvxXui5tt4zGx Sp+POHXBDduZliyxzKr5FTPGXw493DiM3KggSieIDL6x3BWZR2U97w0iDbGWxS5mMJt+6FNC BJmeK2ooFRT+IJ6zeoXM0z6s =20sn ------END PGP PUBLIC KEY BLOCK----- \ No newline at end of file +-----END PGP PUBLIC KEY BLOCK----- diff --git a/contrib/linearize/README.md b/contrib/linearize/README.md index fb36bed86..3bee44002 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 Anoncoin 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 `anoncoind` or `anoncoin-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`: anoncoind 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..0a2e86876 100644 --- a/contrib/linearize/example-linearize.cfg +++ b/contrib/linearize/example-linearize.cfg @@ -1,7 +1,7 @@ -# litecoind RPC settings (linearize-hashes) +# anoncoind RPC settings (linearize-hashes) rpcuser=someuser rpcpassword=somepassword -#datadir=~/.litecoin +#datadir=~/.anoncoin 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/.anoncoin/blocks # testnet #netmagic=fdd2c8f1 #genesis=4966625a4b2851d9fdee139e56211a0d88575f59ed816ff5e6a63deb4e3e29a0 -#input=/home/example/.litecoin/testnet3/blocks +#input=/home/example/.anoncoin/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..612be1578 100644 --- a/contrib/macdeploy/README.md +++ b/contrib/macdeploy/README.md @@ -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 `Anoncoin-Core.dmg`. diff --git a/contrib/macdeploy/custom_dsstore.py b/contrib/macdeploy/custom_dsstore.py index c8bb6d1a2..1801a0330 100755 --- a/contrib/macdeploy/custom_dsstore.py +++ b/contrib/macdeploy/custom_dsstore.py @@ -45,8 +45,8 @@ 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.carbon_path = 'Macintosh HD:Users:\x00anoncoinuser:\x00Documents:\x00anoncoin:\x00anoncoin:\x00' + package_name_ns + '.temp.dmg' +alias.volume.disk_image_alias.target.posix_path = 'Users/anoncoinuser/Documents/anoncoin/anoncoin/' + 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['.']['vSrn'] = ('long', 1) ds['Applications']['Iloc'] = (370, 156) -ds['Litecoin-Qt.app']['Iloc'] = (128, 156) +ds['Anoncoin-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..2c4ad1729 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}/Anoncoin-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..d32d0b04e 100644 --- a/contrib/macdeploy/fancy.plist +++ b/contrib/macdeploy/fancy.plist @@ -22,7 +22,7 @@ 370 156 - Litecoin-Qt.app + Anoncoin-Qt.app 128 156 diff --git a/contrib/macdeploy/macdeployqtplus b/contrib/macdeploy/macdeployqtplus index 6d4b15ce5..5e8782aff 100755 --- a/contrib/macdeploy/macdeployqtplus +++ b/contrib/macdeploy/macdeployqtplus @@ -155,7 +155,7 @@ class FrameworkInfo(object): class ApplicationBundleInfo(object): def __init__(self, path): self.path = path - appName = "Litecoin-Qt" + appName = "Anoncoin-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) @@ -603,7 +603,7 @@ else: # ------------------------------------------------ -target = os.path.join("dist", "Litecoin-Qt.app") +target = os.path.join("dist", "Anoncoin-Qt.app") if verbose >= 2: print("+ Copying source bundle +") diff --git a/contrib/qos/README.md b/contrib/qos/README.md index d569b6a6f..7325393ce 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 Anoncoin 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 anoncoind instance running, and another local anoncoind/anoncoin-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..b26b6e4ed 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 Anoncoin 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/README.md b/contrib/seeds/README.md index 6b5deee5b..18c99dc85 100644 --- a/contrib/seeds/README.md +++ b/contrib/seeds/README.md @@ -10,7 +10,7 @@ to addrman with). The seeds compiled into the release are created from poolers's DNS seed data, like this: - curl -s https://www.litecoinpool.org/seeds.txt > seeds_main.txt + curl -s https://www.anoncoinpool.org/seeds.txt > seeds_main.txt python3 makeseeds.py < seeds_main.txt > nodes_main.txt python3 generate-seeds.py . > ../../src/chainparamsseeds.h diff --git a/contrib/seeds/generate-seeds.py b/contrib/seeds/generate-seeds.py index 322484578..48dfed969 100755 --- a/contrib/seeds/generate-seeds.py +++ b/contrib/seeds/generate-seeds.py @@ -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 anoncoin 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') diff --git a/contrib/seeds/makeseeds.py b/contrib/seeds/makeseeds.py index 940d1e270..9b5445186 100755 --- a/contrib/seeds/makeseeds.py +++ b/contrib/seeds/makeseeds.py @@ -30,7 +30,7 @@ PATTERN_IPV4 = re.compile(r"^((\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})):(\d+)$") PATTERN_IPV6 = re.compile(r"^\[([0-9a-z:]+)\]:(\d+)$") PATTERN_ONION = re.compile(r"^([abcdefghijklmnopqrstuvwxyz234567]{16}\.onion):(\d+)$") -PATTERN_AGENT = re.compile(r"^(/Satoshi:0.13.(0|1|2|99)/|/LitecoinCore:0.13.(0|1|2|99)/|/LitecoinCore:0.14.(0|1|2|99)/|/LitecoinCore:0.15.(0|1|2|99)/)$") +PATTERN_AGENT = re.compile(r"^(/Satoshi:0.13.(0|1|2|99)/|/AnoncoinCore:0.13.(0|1|2|99)/|/AnoncoinCore:0.14.(0|1|2|99)/|/AnoncoinCore:0.15.(0|1|2|99)/)$") def parseline(line): sline = line.split() diff --git a/contrib/testgen/README.md b/contrib/testgen/README.md index 0858cdb13..ff812dca8 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 Anoncoin tests. 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 + gen_base58_test_vectors.py invalid 50 > ../../src/test/data/base58_keys_invalid.json diff --git a/contrib/tidy_datadir.sh b/contrib/tidy_datadir.sh index 1f7d1373c..fd2469ec0 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 Anoncoin 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 Anoncoin datadir detected." exit 1 ;; 1) - echo "Detected old Litecoin datadir (before 0.7)." + echo "Detected old Anoncoin datadir (before 0.7)." echo "Nothing to do." exit 0 ;; 2) - echo "Detected Litecoin 0.7 datadir." + echo "Detected Anoncoin 0.7 datadir." ;; 3) - echo "Detected Litecoin pre-0.8 datadir." + echo "Detected Anoncoin pre-0.8 datadir." ;; 4) - echo "Detected Litecoin 0.8 datadir." + echo "Detected Anoncoin 0.8 datadir." ;; esac diff --git a/contrib/verify-commits/trusted-keys b/contrib/verify-commits/trusted-keys index 388ee4357..cb347023b 100644 --- a/contrib/verify-commits/trusted-keys +++ b/contrib/verify-commits/trusted-keys @@ -5,4 +5,4 @@ B8B3F1C0E58C15DB6A81D30C3648A882F4316B9B 59CAF0E96F23F53747945FD4FE3348877809386C 812C7C9946D314F6A4B70D2D805300481F14DD8B EEF1C9FE09262D71DDE83C223EF697503BF73187 -1A2511E978239E491A096D0A828AC1F94EF26053 \ No newline at end of file +1A2511E978239E491A096D0A828AC1F94EF26053 diff --git a/contrib/windeploy/win-codesign.cert b/contrib/windeploy/win-codesign.cert index 363c132b5..dd6d49fdd 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 + friendlyName: Anoncoin 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. +subject=/C=SG/L=Singapore/O=Anoncoin Foundation LTD./CN=Anoncoin Foundation LTD. issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Assured ID Code Signing CA -----BEGIN CERTIFICATE----- MIIFKjCCBBKgAwIBAgIQDvRXzQ2H3xYGUBDUDBeH/TANBgkqhkiG9w0BAQsFADBy @@ -32,4 +32,4 @@ uqrjoCMDSDUPeS4LbN+khFZSny3D70W7ybqZmlKFQyHMgSWt3qkxbGQNRb0EG6nI e9mWKyISqtjRkwgvlmCD/7hiL/XBUVLo8rAZewA0s+jPFVVmQ63XngirrnAFw5+9 6sU1i2pHWyKmkGnpnKyDstggCvyIpW3k+fF6+Mj2QWhBjWJ3sbzug5j+Wg8WxMAP gjrOxRJT1mS7UZWBHNc4rg5x1+6CNhBJZ+uaBNId ------END CERTIFICATE----- \ No newline at end of file +-----END CERTIFICATE----- diff --git a/depends/README.md b/depends/README.md index 74da0ca0f..e1394d5cf 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 Anoncoin'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 Anoncoin: ./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 anoncoin's configure. In this case, `--disable-wallet`. Additional targets: diff --git a/depends/description.md b/depends/description.md index 0980f815b..f4aaf2957 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 Anoncoin. There are several features that make it different from most similar systems: ### It is designed to be builder and host agnostic diff --git a/doc/README.md b/doc/README.md index 24d2bfa42..799bb2699 100644 --- a/doc/README.md +++ b/doc/README.md @@ -1,41 +1,41 @@ -Litecoin Core +Anoncoin Core ============= Setup --------------------- -Litecoin Core is the original Litecoin client and it builds the backbone of the network. It downloads and, by default, stores the entire history of Litecoin transactions (which is currently more than 7 GBs); 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. +Anoncoin Core is the original Anoncoin client and it builds the backbone of the network. It downloads and, by default, stores the entire history of Anoncoin transactions (which is currently more than 7 GBs); 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. -To download Litecoin Core, visit [litecoin.org](https://litecoin.org). +To download Anoncoin Core, visit [anoncoin.org](https://anoncoin.org). Running --------------------- -The following are some helpful notes on how to run Litecoin on your native platform. +The following are some helpful notes on how to run Anoncoin on your native platform. ### Unix Unpack the files into a directory and run: -- `bin/litecoin-qt` (GUI) or -- `bin/litecoind` (headless) +- `bin/anoncoin-qt` (GUI) or +- `bin/anoncoind` (headless) ### Windows -Unpack the files into a directory, and then run litecoin-qt.exe. +Unpack the files into a directory, and then run anoncoin-qt.exe. ### OS X -Drag Litecoin-Core to your applications folder, and then run Litecoin-Core. +Drag Anoncoin-Core to your applications folder, and then run Anoncoin-Core. ### Need Help? -* See the documentation at the [Litecoin Wiki](https://litecoin.info/) +* See the documentation at the [Anoncoin Wiki](https://anoncoin.info/) for help and more information. -* Ask for help on [#litecoin](http://webchat.freenode.net?channels=litecoin) on Freenode. If you don't have an IRC client use [webchat here](http://webchat.freenode.net?channels=litecoin). -* Ask for help on the [LitecoinTalk](https://litecointalk.io/) forums. +* Ask for help on [#anoncoin](http://webchat.freenode.net?channels=anoncoin) on Freenode. If you don't have an IRC client use [webchat here](http://webchat.freenode.net?channels=anoncoin). +* Ask for help on the [AnoncoinTalk](https://anoncointalk.io/) forums. Building --------------------- -The following are developer notes on how to build Litecoin on your native platform. They are not complete guides, but include notes on the necessary libraries, compile flags, etc. +The following are developer notes on how to build Anoncoin on your native platform. They are not complete guides, but include notes on the necessary libraries, compile flags, etc. - [Dependencies](dependencies.md) - [OS X Build Notes](build-osx.md) @@ -46,12 +46,12 @@ The following are developer notes on how to build Litecoin on your native platfo Development --------------------- -The Litecoin repo's [root README](/README.md) contains relevant information on the development process and automated testing. +The Anoncoin repo's [root README](/README.md) contains relevant information on the development process and automated testing. - [Developer Notes](developer-notes.md) - [Release Notes](release-notes.md) - [Release Process](release-process.md) -- [Source Code Documentation (External Link)](https://dev.visucore.com/litecoin/doxygen/) +- [Source Code Documentation (External Link)](https://dev.visucore.com/anoncoin/doxygen/) - [Translation Process](translation_process.md) - [Translation Strings Policy](translation_strings_policy.md) - [Travis CI](travis-ci.md) @@ -62,8 +62,8 @@ The Litecoin repo's [root README](/README.md) contains relevant information on t - [Benchmarking](benchmarking.md) ### Resources -* Discuss on the [LitecoinTalk](https://litecointalk.io/) forums. -* Discuss general Litecoin development on #litecoin-dev on Freenode. If you don't have an IRC client use [webchat here](http://webchat.freenode.net/?channels=litecoin-dev). +* Discuss on the [AnoncoinTalk](https://anoncointalk.io/) forums. +* Discuss general Anoncoin development on #anoncoin-dev on Freenode. If you don't have an IRC client use [webchat here](http://webchat.freenode.net/?channels=anoncoin-dev). ### Miscellaneous - [Assets Attribution](assets-attribution.md) diff --git a/doc/README_osx.md b/doc/README_osx.md index e2e2ca825..3fc3100ce 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/anoncoin-project/anoncoin-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..a08fed070 100644 --- a/doc/README_windows.txt +++ b/doc/README_windows.txt @@ -1,9 +1,9 @@ -Litecoin Core +Anoncoin Core ============= Intro ----- -Litecoin is a free open source peer-to-peer electronic cash system that is +Anoncoin 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 anoncoin-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; +Anoncoin Core is the original Anoncoin client and it builds the backbone of the network. +However, it downloads and stores the entire history of Anoncoin 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 anoncoin wiki at: + https://anoncoin.info/ for more help and information. diff --git a/doc/REST-interface.md b/doc/REST-interface.md index 17d2417b7..174516e13 100644 --- a/doc/REST-interface.md +++ b/doc/REST-interface.md @@ -91,7 +91,7 @@ Only supports JSON as output format. * bytes : (numeric) size of the TX mempool in bytes * usage : (numeric) total TX mempool memory usage * maxmempool : (numeric) maximum memory usage for the mempool in bytes -* mempoolminfee : (numeric) minimum feerate (LTC per KB) for tx to be accepted +* mempoolminfee : (numeric) minimum feerate (ANC per KB) for tx to be accepted `GET /rest/mempool/contents.json` @@ -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 `