From c3de6f2dee826f5d7d5c06da35d793d3a72d3a7d Mon Sep 17 00:00:00 2001 From: StealthSend Date: Mon, 7 May 2018 23:12:18 -0600 Subject: [PATCH] Rebrand to Stealth, update seed nodes --- COPYING | 2 +- INSTALL | 10 +-- README.md | 4 +- Stealth.pro | 2 +- contrib/linearize/linearize-data.py | 2 +- contrib/macdeploy/Info-daemon.plist | 8 +-- contrib/macdeploy/Info.plist | 8 +-- contrib/macdeploy/fancy.plist | 2 +- contrib/macdeploy/notes.txt | 6 +- contrib/pyHash9/Makefile | 2 +- contrib/pyHash9/README | 2 +- contrib/pyHash9/pyHash9.cpp | 3 +- doc/README | 24 +++---- doc/README_windows.txt | 19 ++--- src/addednode.h | 5 +- src/base58.h | 3 +- src/bitcoinrpc.cpp | 2 +- src/checkpoints.cpp | 1 + src/clientversion.h | 2 +- src/init.cpp | 22 +++--- src/main.cpp | 7 +- src/makefile.unix | 2 +- src/net.cpp | 5 +- src/onionseed.h | 12 ++-- src/qt/aboutdialog.cpp | 4 +- src/qt/askpassphrasedialog.cpp | 2 +- src/qt/bitcoin.cpp | 12 ++-- src/qt/bitcoingui.cpp | 20 +++--- src/qt/bitcoinstrings.cpp | 14 ++-- src/qt/bitcoinunits.cpp | 6 +- src/qt/editaddressdialog.cpp | 2 +- src/qt/forms/aboutdialog.ui | 6 +- src/qt/forms/addressbookpage.ui | 8 +-- src/qt/forms/optionsdialog.ui | 12 ++-- src/qt/forms/overviewpage.ui | 4 +- src/qt/forms/rpcconsole.ui | 8 +-- src/qt/forms/sendcoinsdialog.ui | 2 +- src/qt/forms/signverifymessagedialog.ui | 4 +- src/qt/guiutil.cpp | 6 +- src/qt/locale/bitcoin_en.ts | 1 - src/qt/locale/bitcoin_ru.ts | 1 - src/qt/optionsdialog.cpp | 4 +- src/qt/qbottombar.cpp | 2 +- src/qt/qpageaddrbook.cpp | 4 +- src/qt/qpagestatistics.cpp | 2 +- src/qt/qrcodedialog.cpp | 2 +- src/qt/qstealthpage.cpp | 6 +- src/qt/res/bitcoin-qt.rc | 12 ++-- src/qt/res/images/bg_about.png | Bin 44321 -> 35544 bytes src/qt/res/images/bg_lt_logo.png | Bin 35408 -> 18052 bytes src/qt/res/images/bg_splash.png | Bin 191324 -> 43188 bytes .../res/images/popup-act/bg_menu_about_sc.png | Bin 2151 -> 2461 bytes .../res/images/popup-def/bg_menu_about_sc.png | Bin 2264 -> 2454 bytes src/qt/rpcconsole.cpp | 2 +- src/qt/sendcoinsdialog.cpp | 2 +- src/qt/sendcoinsentry.cpp | 2 +- src/qt/signverifymessagedialog.cpp | 6 +- src/rpcdump.cpp | 8 +-- src/rpcmining.cpp | 13 ++-- src/rpcnet.cpp | 3 +- src/rpcrawtransaction.cpp | 6 +- src/rpcwallet.cpp | 67 +++++++++--------- src/util.cpp | 6 +- src/version.h | 2 +- 64 files changed, 207 insertions(+), 209 deletions(-) diff --git a/COPYING b/COPYING index ddc1d79..a08583a 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -Copyright (c) 2014 StealthCoin Developers +Copyright (c) 2014-2018 Stealth R&D LLC Copyright (c) 2014 CloakCoin Developers Copyright (c) 2013 NovaCoin Developers Copyright (c) 2011-2012 PPCoin Developers diff --git a/INSTALL b/INSTALL index fbc318d..68aef97 100644 --- a/INSTALL +++ b/INSTALL @@ -1,9 +1,9 @@ -Building StealthCoin +Building Stealth -See doc/readme-qt.rst for instructions on building StealthCoin QT, +See doc/readme-qt.rst for instructions on building Stealth QT, the intended-for-end-users, nice-graphical-interface, reference -implementation of StealthCoin. +implementation of Stealth. -See doc/build-*.txt for instructions on building StealthCoind, +See doc/build-*.txt for instructions on building Stealth, the intended-for-services, no-graphical-interface, reference -implementation of StealthCoin. +implementation of Stealth. diff --git a/README.md b/README.md index e31a6c5..bd287dd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -Stealth Coin (ticker symbol XST) Release +Stealth (ticker symbol XST) Release -Stealth coin provides a complete anonymity solution for cryptocurrencies. It combines the network analysis resistance of Tor with the blockchain analysis resistance of stealth send. Stealth has a fair distribution with nearly four hours of low reward blocks, a small premine of 1%, and the long-term energy efficiency of proof-of-stake minting. +Stealth provides a complete anonymity solution for cryptocurrencies. It combines the network analysis resistance of Tor with the blockchain analysis resistance of stealth send. Stealth has a fair distribution with nearly four hours of low reward blocks, a small premine of 1%, and the long-term energy efficiency of proof-of-stake minting. This wallet supports the stake=0 option in the StealthCoin.conf file to disable the stake miner thread for pool and exchange operators. diff --git a/Stealth.pro b/Stealth.pro index 7450439..d5d419f 100644 --- a/Stealth.pro +++ b/Stealth.pro @@ -18,7 +18,7 @@ win32 { TEMPLATE = app TARGET = "Stealth Qt" -VERSION = 2.1.0.2 +VERSION = 2.1.0.3 INCLUDEPATH += src src/json src/qt src/tor INCLUDEPATH += src/tor/adapter src/tor/common src/tor/ext INCLUDEPATH += src/tor/ext/curve25519_donna src/tor/ext/ed25519/donna diff --git a/contrib/linearize/linearize-data.py b/contrib/linearize/linearize-data.py index be7b442..de4e0bf 100755 --- a/contrib/linearize/linearize-data.py +++ b/contrib/linearize/linearize-data.py @@ -3,7 +3,7 @@ # linearize-data.py: Construct a linear, no-fork version of the chain. # # Copyright (c) 2013 The Bitcoin developers -# Copyright (c) 2016 The StealthCoin developers +# Copyright (c) 2016-2018 Stealth R&D LLC # Distributed under the MIT/X11 software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/contrib/macdeploy/Info-daemon.plist b/contrib/macdeploy/Info-daemon.plist index 796e66e..2b8c773 100644 --- a/contrib/macdeploy/Info-daemon.plist +++ b/contrib/macdeploy/Info-daemon.plist @@ -7,15 +7,15 @@ CFBundleDevelopmentRegion English CFBundleGetInfoString - StealthCoin [XST] Complete Anonymity 2.1.0.0 + Stealth [XST] Complete Anonymity 2.1.0.3 CFBundleIdentifier - com.stealth-coin.stealthcoin-qt + org.stealth.stealth-qt CFBundleShortVersionString - 2.1.0.0 + 2.1.0.3 CFBundleSignature oXST CFBundleVersion - 2.1.0.0 + 2.1.0.3 CFBundleName StealthCoind diff --git a/contrib/macdeploy/Info.plist b/contrib/macdeploy/Info.plist index 6cd3f7e..6f62a31 100644 --- a/contrib/macdeploy/Info.plist +++ b/contrib/macdeploy/Info.plist @@ -9,16 +9,16 @@ CFBundlePackageType APPL CFBundleGetInfoString - StealthCoin [XST] Complete Anonymity 2.1.0.2 + Stealth [XST] Complete Anonymity 2.1.0.3 CFBundleExecutable Stealth Qt CFBundleIdentifier - com.stealth-coin.stealthcoin-qt + org.stealth.stealth-qt CFBundleShortVersionString - 2.1.0.2 + 2.1.0.3 CFBundleSignature oXST CFBundleVersion - 2.1.0.2 + 2.1.0.3 diff --git a/contrib/macdeploy/fancy.plist b/contrib/macdeploy/fancy.plist index b628366..5da132e 100644 --- a/contrib/macdeploy/fancy.plist +++ b/contrib/macdeploy/fancy.plist @@ -22,7 +22,7 @@ 370 156 - StealthCoin Qt.app + Stealth Qt.app 128 156 diff --git a/contrib/macdeploy/notes.txt b/contrib/macdeploy/notes.txt index 773b1d5..60ca8a7 100644 --- a/contrib/macdeploy/notes.txt +++ b/contrib/macdeploy/notes.txt @@ -6,7 +6,7 @@ You will need the appscript package for the fancy disk image creation to work. Install it by invoking "sudo easy_install appscript". Ths script should be invoked in the target directory like this: -$source_dir/contrib/macdeploy/macdeployqtplus StealthCoin\ Qt.app -add-qt-tr da,de,es,hu,ru,uk,zh_CN,zh_TW -dmg -fancy $source_dir/contrib/macdeploy/fancy.plist -verbose 2 +$source_dir/contrib/macdeploy/macdeployqtplus Stealth\ Qt.app -add-qt-tr da,de,es,hu,ru,uk,zh_CN,zh_TW -dmg -fancy $source_dir/contrib/macdeploy/fancy.plist -verbose 2 During the process, the disk image window will pop up briefly where the fancy settings are applied. This is normal, please do not interfere. @@ -19,8 +19,8 @@ Fill in the following. Enable custom process step: [x] Command: %{sourceDir}/contrib/macdeploy/macdeployqtplus Working directory: %{buildDir} -Command arguments: StealthCoin\ Qt.app -add-qt-tr da,de,es,hu,ru,uk,zh_CN,zh_TW -dmg -fancy %{sourceDir}/contrib/macdeploy/fancy.plist -verbose 2 +Command arguments: Stealth\ Qt.app -add-qt-tr da,de,es,hu,ru,uk,zh_CN,zh_TW -dmg -fancy %{sourceDir}/contrib/macdeploy/fancy.plist -verbose 2 After that you can start the deployment process through the menu with -Build -> Deploy Project "stealthcoin-qt" +Build -> Deploy Project "stealth-qt" diff --git a/contrib/pyHash9/Makefile b/contrib/pyHash9/Makefile index 0f694aa..61250fc 100644 --- a/contrib/pyHash9/Makefile +++ b/contrib/pyHash9/Makefile @@ -1,4 +1,4 @@ -# (c) Copyright The StealthCoin Developers, 2016 +# (c) Copyright 2016-2018 Stealth R&D LLC # specify PYINCDIR if using non-system python PYINCDIR = -I/usr/include/python2.7 diff --git a/contrib/pyHash9/README b/contrib/pyHash9/README index 9d6b753..07d58bd 100644 --- a/contrib/pyHash9/README +++ b/contrib/pyHash9/README @@ -41,4 +41,4 @@ Installation Copyright --------- -(c) The StealthCoin Developers, 2016 +(c) 2016-2018 Stealth R&D LLC diff --git a/contrib/pyHash9/pyHash9.cpp b/contrib/pyHash9/pyHash9.cpp index acdc11e..c0825e8 100644 --- a/contrib/pyHash9/pyHash9.cpp +++ b/contrib/pyHash9/pyHash9.cpp @@ -1,5 +1,4 @@ -// Copyright (c) 2016, The StealthCoin Developers - +// Copyright (c) 2016-2018, Stealth R&D LLC #include #include "hashblock.h" diff --git a/doc/README b/doc/README index 83624f5..eb4ea0c 100644 --- a/doc/README +++ b/doc/README @@ -1,10 +1,6 @@ +Stealth -Copyright (c) 2014 StealthCoin Developers - - -StealthCoin 1.0.0.1 BETA - -Copyright (c) 014 StealthCoin Developers +Copyright (c) 2014-2018 Stealth R&D LLC Copyright (c) 2013-2014 CloakCoin Developers Copyright (c) 2013 NovaCoin Developers Copyright (c) 2011-2012 Bitcoin Developers @@ -17,22 +13,20 @@ cryptographic software written by Eric Young (eay@cryptsoft.com). Intro ----- -StealthCoin is a free open source project derived from NovaCoin, with +Stealth is a free open source project derived from NovaCoin, with the goal of providing a long-term energy-efficient scrypt-based crypto-currency. Built on the foundation of Bitcoin and NovaCoin, innovations such as proof-of-stake help further advance the field of crypto-currency. Setup ----- -Unpack the files into a directory and run: - bin/32/StealthCoind (headless, 32-bit) - bin/64/StealthCoind (headless, 64-bit) +Unpack the files into a directory and run StealthCoind: The software automatically finds other nodes to connect to. You can enable Universal Plug and Play (UPnP) with your router/firewall -or forward port 36502 (TCP) to your computer so you can receive -incoming connections. StealthCoin works without incoming connections, -but allowing incoming connections helps the StealthCoin network. +or forward port 4437 (TCP) to your computer so you can receive +incoming connections. Stealth works without incoming connections, +but allowing incoming connections helps the Stealth network. Upgrade @@ -45,7 +39,7 @@ StealthCoind stop Start up the new StealthCoind. -See the documentation/wiki at the StealthCoin site: - http://stealth-coin.com/ +See the documentation/wiki at the Stealth site: + https://stealth.org/ for help and more information. diff --git a/doc/README_windows.txt b/doc/README_windows.txt index fc770d3..043b2c4 100644 --- a/doc/README_windows.txt +++ b/doc/README_windows.txt @@ -1,10 +1,5 @@ -Copyright (c) 2014 StealthCoin Developers - - -StealthCoin 1.0.0.1 BETA - -Copyright (c) 2014 StealthCoin Developers +Copyright (c) 2014 Stealth R&D LLC Copyright (c) 2013-2014 CloakCoin Developers Copyright (c) 2013 NovaCoin Developers Copyright (c) 2011-2012 Bitcoin Developers @@ -17,7 +12,7 @@ cryptographic software written by Eric Young (eay@cryptsoft.com). Intro ----- -StealthCoin is a free open source project derived from NovaCoin, with +Stealth is a free open source project derived from NovaCoin, with the goal of providing a long-term energy-efficient scrypt-based crypto-currency. Built on the foundation of Bitcoin and NovaCoin, innovations such as proof-of-stake help further advance the field of crypto-currency. @@ -26,7 +21,7 @@ Setup ----- After completing windows setup then run windows command line (cmd) cd daemon - ClaokCoind + StealthCoind You would need to create a configuration file StealthCoin.conf in the default wallet directory. Grant access to StealthCoind.exe in anti-virus and firewall applications if necessary. @@ -34,8 +29,8 @@ applications if necessary. The software automatically finds other nodes to connect to. You can enable Universal Plug and Play (UPnP) with your router/firewall or forward port 36502 (TCP) to your computer so you can receive -incoming connections. StealthCoin works without incoming connections, -but allowing incoming connections helps the StealthCoin network. +incoming connections. Stealth works without incoming connections, +but allowing incoming connections helps the Stealth network. Upgrade ------- @@ -47,7 +42,7 @@ StealthCoind stop Start up the new StealthCoind. -See the documentation/wiki at the StealthCoin site: - http://stealth-coin.com/ +See the documentation/wiki at the Stealth site: + https://stealth.org/ for help and more information. diff --git a/src/addednode.h b/src/addednode.h index 150320f..0aec79d 100644 --- a/src/addednode.h +++ b/src/addednode.h @@ -4,7 +4,10 @@ // clear net seeds static const char *strMainNetAddedNodes[][1] = { - // {""}, + {"34.210.40.71"}, + {"212.24.98.187"}, + {"89.47.165.136"}, + {"89.47.165.135"}, {NULL} }; diff --git a/src/base58.h b/src/base58.h index 807b337..9f50e0b 100644 --- a/src/base58.h +++ b/src/base58.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin Developers +// Copyright (c) 2014-2018 Stealth R&D LLC // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -277,7 +278,7 @@ class CBitcoinAddress : public CBase58Data public: enum { - PUBKEY_ADDRESS = 62, // StealthCoin addresses begin with 'S' + PUBKEY_ADDRESS = 62, // XST addresses begin with 'S' SCRIPT_ADDRESS = 85, PUBKEY_ADDRESS_TEST = 111, SCRIPT_ADDRESS_TEST = 196, diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 68cf713..54bacb9 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -224,7 +224,7 @@ Value stop(const Array& params, bool fHelp) if (params.size() > 0) bitdb.SetDetach(params[0].get_bool()); StartShutdown(); - return "StealthCoin server stopping"; + return "Stealth server stopping"; } diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp index 5e6fd35..64fe559 100644 --- a/src/checkpoints.cpp +++ b/src/checkpoints.cpp @@ -47,6 +47,7 @@ namespace Checkpoints ( 105000, uint256("0xacc3cc5ecf67849d7616f9f0f6e955e7288be2b93a614e0be52b7bd540327071")) ( 347000, uint256("0x4aaa94b5b7018607a19301e7ba63d40cc3024f091c1bcffaf2b64ef0e1ac5bcb")) ( 769000, uint256("0x7424eff7b5800cfc59e1420c4c32611bceaebb34959a1df93ca678bb5c614582")) + ( 2107000, uint256("0x3e1be0deee5db79f2de34ccdea3b3891cfb158902b1f8f8215c69c616d719eb1")) ; static MapCheckpoints mapCheckpointsTestnet = diff --git a/src/clientversion.h b/src/clientversion.h index a091469..c2847ee 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -9,7 +9,7 @@ #define CLIENT_VERSION_MAJOR 2 #define CLIENT_VERSION_MINOR 1 #define CLIENT_VERSION_REVISION 0 -#define CLIENT_VERSION_BUILD 2 +#define CLIENT_VERSION_BUILD 3 // Converts the parameter X to a string after macro replacement on X has been performed. // Don't merge these into one macro! diff --git a/src/init.cpp b/src/init.cpp index 1561386..fc5b680 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -89,7 +89,7 @@ void Shutdown(void* parg) delete pwalletMain; NewThread(ExitTimeout, NULL); Sleep(50); - printf("StealthCoin exited\n\n"); + printf("Stealth exited\n\n"); fExit = true; #ifndef QT_GUI // ensure non-UI client gets exited here, but let Bitcoin-Qt reach 'return 0;' in bitcoin.cpp @@ -144,7 +144,7 @@ bool AppInit(int argc, char* argv[]) if (mapArgs.count("-?") || mapArgs.count("--help")) { // First part of help message is specific to bitcoind / RPC client - std::string strUsage = _("StealthCoin version") + " " + FormatFullVersion() + "\n\n" + + std::string strUsage = _("Stealth version") + " " + FormatFullVersion() + "\n\n" + _("Usage:") + "\n" + " StealthCoind [options] " + "\n" + " StealthCoind [options] [params] " + _("Send command to -server or StealthCoind") + "\n" + @@ -199,13 +199,13 @@ int main(int argc, char* argv[]) bool static InitError(const std::string &str) { - uiInterface.ThreadSafeMessageBox(str, _("StealthCoin"), CClientUIInterface::OK | CClientUIInterface::MODAL); + uiInterface.ThreadSafeMessageBox(str, _("Stealth"), CClientUIInterface::OK | CClientUIInterface::MODAL); return false; } bool static InitWarning(const std::string &str) { - uiInterface.ThreadSafeMessageBox(str, _("StealthCoin"), CClientUIInterface::OK | CClientUIInterface::ICON_EXCLAMATION | CClientUIInterface::MODAL); + uiInterface.ThreadSafeMessageBox(str, _("Stealth"), CClientUIInterface::OK | CClientUIInterface::ICON_EXCLAMATION | CClientUIInterface::MODAL); return true; } @@ -484,7 +484,7 @@ bool AppInit2() if (file) fclose(file); static boost::interprocess::file_lock lock(pathLockFile.string().c_str()); if (!lock.try_lock()) - return InitError(strprintf(_("Cannot obtain a lock on data directory %s. StealthCoin is probably already running."), strDataDir.c_str())); + return InitError(strprintf(_("Cannot obtain a lock on data directory %s. Stealth is probably already running."), strDataDir.c_str())); #if !defined(WIN32) && !defined(QT_GUI) if (fDaemon) @@ -511,7 +511,7 @@ bool AppInit2() if (GetBoolArg("-shrinkdebugfile", !fDebug)) ShrinkDebugFile(); printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); - printf("StealthCoin version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str()); + printf("Stealth version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str()); printf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION)); if (!fLogTimestamps) printf("Startup time: %s\n", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str()); @@ -520,7 +520,7 @@ bool AppInit2() std::ostringstream strErrors; if (fDaemon) - fprintf(stdout, "StealthCoin server starting\n"); + fprintf(stdout, "Stealth server starting\n"); int64 nStart; @@ -552,7 +552,7 @@ bool AppInit2() " Original wallet.dat saved as wallet.{timestamp}.bak in %s; if" " your balance or transactions are incorrect you should" " restore from a backup."), strDataDir.c_str()); - uiInterface.ThreadSafeMessageBox(msg, _("StealthCoin"), CClientUIInterface::OK | CClientUIInterface::ICON_EXCLAMATION | CClientUIInterface::MODAL); + uiInterface.ThreadSafeMessageBox(msg, _("Stealth"), CClientUIInterface::OK | CClientUIInterface::ICON_EXCLAMATION | CClientUIInterface::MODAL); } if (r == CDBEnv::RECOVER_FAIL) return InitError(_("wallet.dat corrupt, salvage failed")); @@ -908,13 +908,13 @@ bool AppInit2() { string msg(_("Warning: error reading wallet.dat! All keys read correctly, but transaction data" " or address book entries might be missing or incorrect.")); - uiInterface.ThreadSafeMessageBox(msg, _("StealthCoin"), CClientUIInterface::OK | CClientUIInterface::ICON_EXCLAMATION | CClientUIInterface::MODAL); + uiInterface.ThreadSafeMessageBox(msg, _("Stealth"), CClientUIInterface::OK | CClientUIInterface::ICON_EXCLAMATION | CClientUIInterface::MODAL); } else if (nLoadWalletRet == DB_TOO_NEW) - strErrors << _("Error loading wallet.dat: Wallet requires newer version of StealthCoin") << "\n"; + strErrors << _("Error loading wallet.dat: Wallet requires newer version of Stealth") << "\n"; else if (nLoadWalletRet == DB_NEED_REWRITE) { - strErrors << _("Wallet needed to be rewritten: restart StealthCoin to complete") << "\n"; + strErrors << _("Wallet needed to be rewritten: restart Stealth to complete") << "\n"; printf("%s", strErrors.str().c_str()); return InitError(strErrors.str()); } diff --git a/src/main.cpp b/src/main.cpp index 31fbe8b..a667e9c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2014-2018 Stealth R&D LLC // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -1707,8 +1708,8 @@ bool CBlock::ConnectBlock(CTxDB& txdb, CBlockIndex* pindex, bool fJustCheck) // Now that the whole chain is irreversibly beyond that time it is applied to all blocks except the // two in the chain that violate it. This prevents exploiting the issue against nodes in their // initial block download. - bool fEnforceBIP30 = true; // Always active in StealthCoin - bool fStrictPayToScriptHash = true; // Always active in StealthCoin + bool fEnforceBIP30 = true; // Always active in Stealth + bool fStrictPayToScriptHash = true; // Always active in Stealth //// issue here: it doesn't know the version unsigned int nTxPos; @@ -2753,7 +2754,7 @@ bool CheckDiskSpace(uint64 nAdditionalBytes) string strMessage = _("Warning: Disk space is low!"); strMiscWarning = strMessage; printf("*** %s\n", strMessage.c_str()); - uiInterface.ThreadSafeMessageBox(strMessage, "StealthCoin", CClientUIInterface::OK | CClientUIInterface::ICON_EXCLAMATION | CClientUIInterface::MODAL); + uiInterface.ThreadSafeMessageBox(strMessage, "Stealth", CClientUIInterface::OK | CClientUIInterface::ICON_EXCLAMATION | CClientUIInterface::MODAL); StartShutdown(); return false; } diff --git a/src/makefile.unix b/src/makefile.unix index e69cbcd..b593c98 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -18,7 +18,7 @@ # sudo apt-get install git # git clone https://github.com/StealthSend/Stealth.git # -# As of StealthCoin version 1.3.0.0, the Qt clients are built +# As of Stealth version 1.3.0.0, the Qt clients are built # against Berkeley DB (BDB) 4.8. So you should build BDB from the # archive at http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz # Install BDB to the default location (/usr/local/BerkeleyDB.4.8/). diff --git a/src/net.cpp b/src/net.cpp index 74ad7e1..e56c593 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2014-2018 Stealth R&D LLC // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -1137,7 +1138,7 @@ void ThreadMapPort2(void* parg) } } - string strDesc = "StealthCoin " + FormatFullVersion(); + string strDesc = "Stealth " + FormatFullVersion(); #ifndef UPNPDISCOVER_SUCCESS /* miniupnpc 1.5 */ r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, @@ -1793,7 +1794,7 @@ bool BindListenPort(const CService &addrBind, string& strError) { int nErr = WSAGetLastError(); if (nErr == WSAEADDRINUSE) - strError = strprintf(_("Unable to bind to %s on this computer. StealthCoin is probably already running."), addrBind.ToString().c_str()); + strError = strprintf(_("Unable to bind to %s on this computer. Stealth is probably already running."), addrBind.ToString().c_str()); else strError = strprintf(_("Unable to bind to %s on this computer (bind returned error %d, %s)"), addrBind.ToString().c_str(), nErr, strerror(nErr)); printf("%s\n", strError.c_str()); diff --git a/src/onionseed.h b/src/onionseed.h index 25f4cd5..6c0e1df 100644 --- a/src/onionseed.h +++ b/src/onionseed.h @@ -5,12 +5,14 @@ // hidden service seeds static const char *strMainNetOnionSeed[][1] = { {"p73eg5dgwuspz6in.onion"}, - {"ihfp2t5y2fbbev22.onion"}, - {"6l7dqhwxl7mbxrlf.onion"}, - {"vxdfo3f4f63ijd74.onion"}, - {"pw2rsl3gs4xxpx46.onion"}, - {"fgvuj63xk3s5223n.onion"}, {"cmktqpjidomyaveh.onion"}, + {"xeos4dr3s4lwr6p3.onion"}, + {"l4tentzwmxfq5kmh.onion"}, + {"ysjzx5dgfal5y7e3.onion"}, + {"ctm6z5zznvey7ksu.onion"}, + // {"prqbmbzedjwcsgi3.onion"}, + // {"htgqgcprdewkcxce.onion"}, + // {"rtjcnvuvcwtjc5h3.onion"}, {NULL} }; diff --git a/src/qt/aboutdialog.cpp b/src/qt/aboutdialog.cpp index 16c24b3..fce8f8f 100644 --- a/src/qt/aboutdialog.cpp +++ b/src/qt/aboutdialog.cpp @@ -31,7 +31,7 @@ AboutDialog::AboutDialog(QWidget *parent) : QString qstrVersion = "" + tr("stealth") + "" + tr("client") + " " + + ";\">" + " " + " V " + QString::fromStdString(FormatVersionNumbers()) + ""; @@ -48,7 +48,7 @@ AboutDialog::AboutDialog(QWidget *parent) : lblVersion->setStyleSheet("QLabel {color: white;}"); QString qstrCopy = QString::fromUtf8( - "\u00A9 2014 STEALTHCOIN Developers\n" + "\u00A9 2014-2018 STEALTH Developers\n" "This is experimental software.\n" "If you don't treat it as such,\n" "you're likely to put an eye out."); diff --git a/src/qt/askpassphrasedialog.cpp b/src/qt/askpassphrasedialog.cpp index 9dd4e38..a0ee569 100644 --- a/src/qt/askpassphrasedialog.cpp +++ b/src/qt/askpassphrasedialog.cpp @@ -125,7 +125,7 @@ void AskPassphraseDialog::accept() { QMessageBox::warning(this, tr("Wallet encrypted"), "" + - tr("StealthCoin will close now to finish the encryption process. " + tr("Stealth will close now to finish the encryption process. " "Remember that encrypting your wallet cannot fully protect " "your coins from being stolen by malware infecting your computer.") + "

" + diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index e87964b..89312aa 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -108,7 +108,7 @@ static std::string Translate(const char* psz) static void handleRunawayException(std::exception *e) { PrintExceptionContinue(e, "Runaway exception"); - QMessageBox::critical(0, "Runaway exception", BitcoinGUI::tr("A fatal error occurred. StealthCoin can no longer continue safely and will quit.") + QString("\n\n") + QString::fromStdString(strMiscWarning)); + QMessageBox::critical(0, "Runaway exception", BitcoinGUI::tr("A fatal error occurred. Stealth can no longer continue safely and will quit.") + QString("\n\n") + QString::fromStdString(strMiscWarning)); exit(1); } @@ -163,7 +163,7 @@ int main(int argc, char *argv[]) { // This message can not be translated, as translation is not initialized yet // (which not yet possible because lang=XX can be overridden in bitcoin.conf in the data directory) - QMessageBox::critical(0, "StealthCoin", + QMessageBox::critical(0, "Stealth", QString("Error: Specified data directory \"%1\" does not exist.").arg(QString::fromStdString(mapArgs["-datadir"]))); return 1; } @@ -171,12 +171,12 @@ int main(int argc, char *argv[]) // Application identification (must be set before OptionsModel is initialized, // as it is used to locate QSettings) - app.setOrganizationName("StealthCoin"); - app.setOrganizationDomain("StealthCoin.su"); + app.setOrganizationName("Stealth"); + app.setOrganizationDomain("Stealth.su"); if(GetBoolArg("-testnet")) // Separate UI settings for testnet - app.setApplicationName("StealthCoin-Qt-testnet"); + app.setApplicationName("Stealth-Qt-testnet"); else - app.setApplicationName("StealthCoin-Qt"); + app.setApplicationName("Stealth-Qt"); // ... then GUI settings: OptionsModel optionsModel; diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 1b563d6..a75d105 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -100,7 +100,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent): connect(mainPage, SIGNAL(gotoMainPage(int)), this, SLOT(slotSelectedPageItem(int))); //connect(mainPage->sideBar, SIGNAL(clickedLogoImage()), this, SLOT(aboutClicked())); - setWindowTitle(tr("StealthCoin") + " - " + tr("Wallet")); + setWindowTitle(tr("Stealth") + " - " + tr("Wallet")); #ifndef Q_OS_MAC qApp->setWindowIcon(QIcon(":icons/bitcoin")); setWindowIcon(QIcon(":icons/bitcoin")); @@ -212,7 +212,7 @@ void BitcoinGUI::createActions() tabGroup->addAction(overviewAction); sendCoinsAction = new QAction(QIcon(":/icons/send"), tr("&Send coins"), this); - sendCoinsAction->setToolTip(tr("Send coins to a StealthCoin address")); + sendCoinsAction->setToolTip(tr("Send coins to an XST address")); sendCoinsAction->setCheckable(true); sendCoinsAction->setShortcut(QKeySequence(Qt::ALT + Qt::Key_2)); tabGroup->addAction(sendCoinsAction); @@ -250,14 +250,14 @@ void BitcoinGUI::createActions() quitAction->setToolTip(tr("Quit application")); quitAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q)); quitAction->setMenuRole(QAction::QuitRole); - aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About StealthCoin"), this); - aboutAction->setToolTip(tr("Show information about StealthCoin")); + aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About Stealth"), this); + aboutAction->setToolTip(tr("Show information about Stealth")); aboutAction->setMenuRole(QAction::AboutRole); aboutQtAction = new QAction(QIcon(":/trolltech/qmessagebox/images/qtlogo-64.png"), tr("About &Qt"), this); aboutQtAction->setToolTip(tr("Show information about Qt")); aboutQtAction->setMenuRole(QAction::AboutQtRole); optionsAction = new QAction(QIcon(":/icons/options"), tr("&Options..."), this); - optionsAction->setToolTip(tr("Modify configuration options for StealthCoin")); + optionsAction->setToolTip(tr("Modify configuration options for Stealth")); optionsAction->setMenuRole(QAction::PreferencesRole); toggleHideAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Show / Hide"), this); encryptWalletAction = new QAction(QIcon(":/icons/lock_closed"), tr("&Encrypt Wallet..."), this); @@ -342,7 +342,7 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel) #endif if(trayIcon) { - trayIcon->setToolTip(tr("StealthCoin client") + QString(" ") + tr("[testnet]")); + trayIcon->setToolTip(tr("Stealth client") + QString(" ") + tr("[testnet]")); trayIcon->setIcon(QIcon(":/icons/toolbar_testnet")); toggleHideAction->setIcon(QIcon(":/icons/toolbar_testnet")); } @@ -398,7 +398,7 @@ void BitcoinGUI::createTrayIcon() trayIcon = new QSystemTrayIcon(this); trayIconMenu = new QMenu(this); trayIcon->setContextMenu(trayIconMenu); - trayIcon->setToolTip(tr("StealthCoin client")); + trayIcon->setToolTip(tr("Stealth client")); trayIcon->setIcon(QIcon(":/icons/toolbar")); connect(trayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(trayIconActivated(QSystemTrayIcon::ActivationReason))); @@ -468,7 +468,7 @@ void BitcoinGUI::setNumConnections(int count) default: icon = ":/icons/connect_4"; break; } labelConnectionsIcon->setPixmap(QIcon(icon).pixmap(STATUSBAR_ICONSIZE,STATUSBAR_ICONSIZE)); - labelConnectionsIcon->setToolTip(tr("%n active connection(s) to StealthCoin network.", "", count)); + labelConnectionsIcon->setToolTip(tr("%n active connection(s) to Stealth network.", "", count)); } void BitcoinGUI::setNumBlocks(int count, int nTotalBlocks) @@ -804,7 +804,7 @@ void BitcoinGUI::dropEvent(QDropEvent *event) if (nValidUrisFound) slotSelectedPageItem(SC_PAGE_ID_SEND_XST); else - notificator->notify(Notificator::Warning, tr("URI handling"), tr("URI can not be parsed! This can be caused by an invalid StealthCoin address or malformed URI parameters.")); + notificator->notify(Notificator::Warning, tr("URI handling"), tr("URI can not be parsed! This can be caused by an invalid XST address or malformed URI parameters.")); } event->acceptProposedAction(); @@ -819,7 +819,7 @@ void BitcoinGUI::handleURI(QString strURI) slotSelectedPageItem(SC_PAGE_ID_SEND_XST); } else - notificator->notify(Notificator::Warning, tr("URI handling"), tr("URI can not be parsed! This can be caused by an invalid StealthCoin address or malformed URI parameters.")); + notificator->notify(Notificator::Warning, tr("URI handling"), tr("URI can not be parsed! This can be caused by an invalid XST address or malformed URI parameters.")); } void BitcoinGUI::setEncryptionStatus(int status) diff --git a/src/qt/bitcoinstrings.cpp b/src/qt/bitcoinstrings.cpp index b5c62f5..d7df810 100644 --- a/src/qt/bitcoinstrings.cpp +++ b/src/qt/bitcoinstrings.cpp @@ -24,7 +24,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", "" "An error occurred while setting up the RPC port %u for listening on IPv6, " "falling back to IPv4: %s"), QT_TRANSLATE_NOOP("bitcoin-core", "" -"Cannot obtain a lock on data directory %s. StealthCoin is probably already " +"Cannot obtain a lock on data directory %s. Stealth is probably already " "running."), QT_TRANSLATE_NOOP("bitcoin-core", "" "Detach block and address databases. Increases shutdown time (default: 0)"), @@ -52,13 +52,13 @@ QT_TRANSLATE_NOOP("bitcoin-core", "" "Set maximum size of high-priority/low-fee transactions in bytes (default: " "27000)"), QT_TRANSLATE_NOOP("bitcoin-core", "" -"Unable to bind to %s on this computer. StealthCoin is probably already running."), +"Unable to bind to %s on this computer. Stealth is probably already running."), QT_TRANSLATE_NOOP("bitcoin-core", "" "Warning: -paytxfee is set very high! This is the transaction fee you will " "pay if you send a transaction."), QT_TRANSLATE_NOOP("bitcoin-core", "" "Warning: Please check that your computer's date and time are correct! If " -"your clock is wrong StealthCoin will not work properly."), +"your clock is wrong Stealth will not work properly."), QT_TRANSLATE_NOOP("bitcoin-core", "" "Warning: error reading wallet.dat! All keys read correctly, but transaction " "data or address book entries might be missing or incorrect."), @@ -93,7 +93,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", "Done loading"), QT_TRANSLATE_NOOP("bitcoin-core", "Error loading blkindex.dat"), QT_TRANSLATE_NOOP("bitcoin-core", "Error loading wallet.dat"), QT_TRANSLATE_NOOP("bitcoin-core", "Error loading wallet.dat: Wallet corrupted"), -QT_TRANSLATE_NOOP("bitcoin-core", "Error loading wallet.dat: Wallet requires newer version of StealthCoin"), +QT_TRANSLATE_NOOP("bitcoin-core", "Error loading wallet.dat: Wallet requires newer version of Stealth"), QT_TRANSLATE_NOOP("bitcoin-core", "Error"), QT_TRANSLATE_NOOP("bitcoin-core", "Error: Transaction creation failed "), QT_TRANSLATE_NOOP("bitcoin-core", "Error: Wallet locked, unable to create transaction "), @@ -123,8 +123,8 @@ QT_TRANSLATE_NOOP("bitcoin-core", "Loading wallet..."), QT_TRANSLATE_NOOP("bitcoin-core", "Maintain at most connections to peers (default: 125)"), QT_TRANSLATE_NOOP("bitcoin-core", "Maximum per-connection receive buffer, *1000 bytes (default: 5000)"), QT_TRANSLATE_NOOP("bitcoin-core", "Maximum per-connection send buffer, *1000 bytes (default: 1000)"), -QT_TRANSLATE_NOOP("bitcoin-core", "StealthCoin version"), -QT_TRANSLATE_NOOP("bitcoin-core", "StealthCoin"), +QT_TRANSLATE_NOOP("bitcoin-core", "Stealth version"), +QT_TRANSLATE_NOOP("bitcoin-core", "Stealth"), QT_TRANSLATE_NOOP("bitcoin-core", "Only connect to nodes in network (IPv4, IPv6 or Tor)"), QT_TRANSLATE_NOOP("bitcoin-core", "Options:"), QT_TRANSLATE_NOOP("bitcoin-core", "Output extra debugging information. Implies all other -debug* options"), @@ -170,7 +170,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", "Use proxy to reach tor hidden services (defau QT_TRANSLATE_NOOP("bitcoin-core", "Use the test network"), QT_TRANSLATE_NOOP("bitcoin-core", "Username for JSON-RPC connections"), QT_TRANSLATE_NOOP("bitcoin-core", "Verifying database integrity..."), -QT_TRANSLATE_NOOP("bitcoin-core", "Wallet needed to be rewritten: restart StealthCoin to complete"), +QT_TRANSLATE_NOOP("bitcoin-core", "Wallet needed to be rewritten: restart Stealth to complete"), QT_TRANSLATE_NOOP("bitcoin-core", "Warning: Disk space is low!"), QT_TRANSLATE_NOOP("bitcoin-core", "Warning: This version is obsolete, upgrade required!"), QT_TRANSLATE_NOOP("bitcoin-core", "wallet.dat corrupt, salvage failed"), diff --git a/src/qt/bitcoinunits.cpp b/src/qt/bitcoinunits.cpp index 84f6962..0f9bafc 100644 --- a/src/qt/bitcoinunits.cpp +++ b/src/qt/bitcoinunits.cpp @@ -45,9 +45,9 @@ QString BitcoinUnits::description(int unit) { switch(unit) { - case BTC: return QString("StealthCoins"); - case mBTC: return QString("Milli-StealthCoins (1 / 1,000)"); - case uBTC: return QString("Micro-StealthCoins (1 / 1,000,000)"); + case BTC: return QString("XST"); + case mBTC: return QString("Milli-XST (1 / 1,000)"); + case uBTC: return QString("Micro-XST (1 / 1,000,000)"); default: return QString("???"); } } diff --git a/src/qt/editaddressdialog.cpp b/src/qt/editaddressdialog.cpp index 06a351b..e0f69ed 100644 --- a/src/qt/editaddressdialog.cpp +++ b/src/qt/editaddressdialog.cpp @@ -117,7 +117,7 @@ void EditAddressDialog::accept() break; case AddressTableModel::INVALID_ADDRESS: QMessageBox::warning(this, windowTitle(), - tr("The entered address \"%1\" is not a valid StealthCoin address.").arg(ui->addressEdit->text()), + tr("The entered address \"%1\" is not a valid XST address.").arg(ui->addressEdit->text()), QMessageBox::Ok, QMessageBox::Ok); return; case AddressTableModel::NO_CHANGES: diff --git a/src/qt/forms/aboutdialog.ui b/src/qt/forms/aboutdialog.ui index cca8108..b134d1e 100644 --- a/src/qt/forms/aboutdialog.ui +++ b/src/qt/forms/aboutdialog.ui @@ -11,7 +11,7 @@ - About StealthCoin + About Stealth @@ -50,7 +50,7 @@ IBeamCursor - <b>StealthCoin</b> version + <b>Stealth</b> version Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse @@ -95,7 +95,7 @@ Copyright © 2009-2012 Bitcoin Developers Copyright © 2012 PPCoin Developers Copyright © 2014 CloakCoin Developers -Copyright © 2014 StealthCoin Developers +Copyright © 2014-2018 Stealth R&D LLC diff --git a/src/qt/forms/addressbookpage.ui b/src/qt/forms/addressbookpage.ui index cf4c2f6..ac31a70 100644 --- a/src/qt/forms/addressbookpage.ui +++ b/src/qt/forms/addressbookpage.ui @@ -17,11 +17,11 @@ - These are your StealthCoin addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you. + These are your XST addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you.