Browse Source

defeather

pull/36/head
wowario 4 months ago
parent
commit
9a75c5a986
Signed by: wowario GPG Key ID: 24DCBE762DE9C111
  1. 6
      .gitignore
  2. 4
      BUILDING.md
  3. 12
      CMakeLists.txt
  4. 2
      Dockerfile
  5. 2
      Dockerfile.windows
  6. 4
      Dockerfile.windows_mxe
  7. 1
      SECURITY.md
  8. 2
      cmake/VersionMonero.cmake
  9. 12
      cmake/VersionWowlet.cmake
  10. 12
      cmake/config-feather.h.cmake
  11. 12
      cmake/config-wowlet.h.cmake
  12. 2
      src/CMakeLists.txt
  13. 16
      src/appcontext.cpp
  14. 15
      src/appcontext.h
  15. 2
      src/assets/about.txt
  16. 6
      src/cli.h
  17. 6
      src/coinswidget.h
  18. 12
      src/config-feather.h
  19. 6
      src/dialog/WalletCacheDebugDialog.h
  20. 6
      src/dialog/aboutdialog.cpp
  21. 2
      src/dialog/aboutdialog.ui
  22. 6
      src/dialog/balancedialog.h
  23. 6
      src/dialog/broadcasttxdialog.h
  24. 6
      src/dialog/contactsdialog.h
  25. 8
      src/dialog/debuginfodialog.cpp
  26. 6
      src/dialog/debuginfodialog.h
  27. 2
      src/dialog/debuginfodialog.ui
  28. 6
      src/dialog/keysdialog.h
  29. 6
      src/dialog/outputinfodialog.h
  30. 6
      src/dialog/outputsweepdialog.h
  31. 6
      src/dialog/passwordchangedialog.h
  32. 6
      src/dialog/passworddialog.h
  33. 6
      src/dialog/qrcodedialog.h
  34. 2
      src/dialog/seeddialog.cpp
  35. 6
      src/dialog/seeddialog.h
  36. 6
      src/dialog/signverifydialog.h
  37. 6
      src/dialog/torinfodialog.h
  38. 6
      src/dialog/transactioninfodialog.h
  39. 6
      src/dialog/txconfadvdialog.h
  40. 6
      src/dialog/txconfdialog.h
  41. 6
      src/dialog/tximportdialog.h
  42. 6
      src/dialog/verifyproofdialog.h
  43. 6
      src/dialog/viewonlydialog.h
  44. 2
      src/dialog/walletinfodialog.cpp
  45. 6
      src/dialog/walletinfodialog.h
  46. 6
      src/globals.h
  47. 6
      src/historywidget.h
  48. 6
      src/libwalletqt/AddressBookInfo.h
  49. 6
      src/libwalletqt/Coins.h
  50. 6
      src/libwalletqt/CoinsInfo.h
  51. 6
      src/libwalletqt/ConstructionInfo.h
  52. 6
      src/libwalletqt/Input.h
  53. 6
      src/libwalletqt/PendingTransactionInfo.h
  54. 6
      src/libwalletqt/Ring.h
  55. 2
      src/libwalletqt/Wallet.cpp
  56. 6
      src/main.cpp
  57. 6
      src/mainwindow.cpp
  58. 4
      src/mainwindow.ui
  59. 6
      src/model/AddressBookProxyModel.h
  60. 6
      src/model/CCSModel.h
  61. 6
      src/model/CoinsModel.h
  62. 6
      src/model/CoinsProxyModel.h
  63. 6
      src/model/ModelUtils.h
  64. 8
      src/model/NodeModel.cpp
  65. 14
      src/model/NodeModel.h
  66. 6
      src/model/RedditModel.h
  67. 6
      src/model/SubaddressProxyModel.h
  68. 6
      src/model/SubaddressView.h
  69. 6
      src/model/TransactionHistoryProxyModel.h
  70. 6
      src/receivewidget.h
  71. 2
      src/settings.cpp
  72. 6
      src/utils/ColorScheme.h
  73. 6
      src/utils/RestoreHeightLookup.h
  74. 10
      src/utils/WowletSeed.h
  75. 6
      src/utils/childproc.h
  76. 6
      src/utils/config.h
  77. 6
      src/utils/daemonrpc.h
  78. 6
      src/utils/networking.h
  79. 30
      src/utils/nodes.cpp
  80. 32
      src/utils/nodes.h
  81. 6
      src/utils/prices.h
  82. 4
      src/utils/tor.cpp
  83. 6
      src/utils/tor.h
  84. 6
      src/utils/txfiathistory.h
  85. 6
      src/utils/utils.h
  86. 6
      src/utils/whonix.h
  87. 6
      src/utils/xmrig.h
  88. 6
      src/widgets/CCSEntry.h
  89. 6
      src/widgets/PayToEdit.h
  90. 6
      src/widgets/RedditPost.h
  91. 6
      src/widgets/ccsprogressdelegate.h
  92. 26
      src/widgets/nodewidget.cpp
  93. 6
      src/widgets/nodewidget.h
  94. 1
      src/widgets/suchwowwidget.h
  95. 6
      src/widgets/txproofwidget.h
  96. 16
      src/widgets/xmrigwidget.cpp
  97. 6
      src/wizard/createwallet.h
  98. 2
      src/wizard/createwalletseed.cpp
  99. 6
      src/wizard/createwalletseed.h
  100. 6
      src/wizard/menu.h

6
.gitignore

@ -8,8 +8,8 @@ build/*
CMakeCache.txt
CMakeFiles
cmake_install.cmake
feather_autogen/
feather.cbp
wowlet_autogen/
wowlet.cbp
src/tor/*
!src/tor/.gitkeep
src/config-feather.h
src/config-wowlet.h

4
BUILDING.md

@ -13,7 +13,7 @@ Static builds via Docker are done in 3 steps:
### Linux (reproducible)
The docker image for reproducible Linux static builds uses Ubuntu 16.04 and compiles the required libraries statically
so that the resulting Feather binary is static. For more information, check the Dockerfile: `Dockerfile`.
so that the resulting `wowlet` binary is static. For more information, check the Dockerfile: `Dockerfile`.
#### 1. Clone
@ -99,7 +99,7 @@ git clone --recursive https://git.wownero.com/wowlet/wowlet.git
Get the latest LTS from here: https://www.qt.io/offline-installers and install.
Build Feather.
Build WOWlet.
```bash
CMAKE_PREFIX_PATH=~/Qt5.15.1/5.15.1/clang_64 make mac-release

12
CMakeLists.txt

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(feather)
project(wowlet)
message(STATUS "Initiating compile using CMake ${CMAKE_VERSION}")
@ -11,7 +11,7 @@ set(VERSION "beta-1")
option(FETCH_DEPS "Download dependencies if they are not found" ON)
option(XMRIG "Include XMRig module" ON)
option(TOR_BIN "Path to Tor binary to embed inside Feather" OFF)
option(TOR_BIN "Path to Tor binary to embed inside WOWlet" OFF)
option(STATIC "Link libraries statically, requires static Qt")
option(USE_DEVICE_TREZOR "Trezor support compilation" OFF)
option(DONATE_BEG "Prompt donation window every once in a while" ON)
@ -98,7 +98,7 @@ get_directory_property(UNBOUND_LIBRARY DIRECTORY "monero" DEFINITION UNBOUND_LIB
include(CMakePackageConfigHelpers)
include(VersionMonero)
include(VersionFeather)
include(VersionWowlet)
include_directories(${EASYLOGGING_INCLUDE})
link_directories(${EASYLOGGING_LIBRARY_DIRS})
@ -127,7 +127,7 @@ find_package(monero-seed CONFIG)
if(NOT monero-seed_FOUND)
if(FETCH_DEPS)
FetchContent_Declare(monero-seed
GIT_REPOSITORY https://git.wownero.com/feather/monero-seed.git)
GIT_REPOSITORY https://git.wownero.com/wowlet/monero-seed.git)
FetchContent_GetProperties(monero-seed)
if(NOT monero-seed_POPULATED)
message(STATUS "Fetching monero-seed")
@ -183,7 +183,7 @@ if("$ENV{DRONE}" STREQUAL "true")
message(STATUS "We are inside a static compile with Drone CI")
endif()
# To build Feather with embedded (and static) Tor, pass CMake -DTOR_BIN=/path/to/tor
# To build WOWlet with embedded (and static) Tor, pass CMake -DTOR_BIN=/path/to/tor
if(TOR_BIN)
if(APPLE)
execute_process(COMMAND bash -c "touch ${CMAKE_CURRENT_SOURCE_DIR}/src/tor/libevent-2.1.7.dylib")
@ -194,7 +194,7 @@ if(TOR_BIN)
set(TOR_VERSION "${out}")
endif()
message(STATUS "${TOR_VERSION}")
configure_file("cmake/config-feather.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-feather.h")
configure_file("cmake/config-wowlet.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-wowlet.h")
# on the buildbot Tor is baked into the image
# - linux: See `Dockerfile`

2
Dockerfile

@ -392,7 +392,7 @@ RUN git clone -b v4.0.2 --depth 1 https://github.com/fukuchi/libqrencode.git &&
make -j$THREADS install && \
rm -rf $(pwd)
RUN git clone https://git.wownero.com/feather/monero-seed.git && \
RUN git clone https://git.wownero.com/wowlet/monero-seed.git && \
cd monero-seed && \
git reset --hard 4674ef09b6faa6fe602ab5ae0b9ca8e1fd7d5e1b && \
cmake -DCMAKE_BUILD_TYPE=Release -Bbuild && \

2
Dockerfile.windows

@ -172,7 +172,7 @@ RUN git clone -b tor-0.4.5.5-rc --depth 1 https://git.torproject.org/tor.git &&
rm -rf $(pwd) && \
strip -s -D /usr/local/tor/bin/tor.exe
RUN git clone https://git.wownero.com/feather/monero-seed.git && \
RUN git clone https://git.wownero.com/wowlet/monero-seed.git && \
cd monero-seed && \
git reset --hard 4674ef09b6faa6fe602ab5ae0b9ca8e1fd7d5e1b && \
cmake -DCMAKE_INSTALL_PREFIX=/depends/x86_64-w64-mingw32 \

4
Dockerfile.windows_mxe

@ -48,7 +48,7 @@ RUN apt install -y \
wget \
xz-utils
RUN git clone -b feather-patch --depth 1 https://git.wownero.com/feather/mxe.git && \
RUN git clone -b wowlet-patch --depth 1 https://git.wownero.com/wowlet/mxe.git && \
cd mxe && \
make -j$THREADS MXE_TARGETS='x86_64-w64-mingw32.static' gcc libqrencode pkgconf libgpg_error libgcrypt cmake libsodium lzma readline libzmq boost qtbase qtsvg qtwebsockets qtimageformats qtmultimedia
@ -67,7 +67,7 @@ RUN ln -s /mxe/usr/x86_64-w64-mingw32.static/lib/libsicuin.a /mxe/usr/x86_64-w64
ENV PATH="/mxe/usr/bin/:$PATH"
RUN git clone https://git.wownero.com/feather/monero-seed.git && \
RUN git clone https://git.wownero.com/wowlet/monero-seed.git && \
cd monero-seed && \
cmake -DCMAKE_BUILD_TYPE=Release -Bbuild && \
make -Cbuild -j$THREADS && \

1
SECURITY.md

@ -11,6 +11,5 @@ The following keys may be used to communicate sensitive information to developer
| Name | Fingerprint |
|------|-------------|
| dsc | 1BFD 40F9 B0E2 B40D C8C7 FD4A 521F 1E79 91AA 42DC |
| tobtoht | C5AB E5C0 E50F A2B3 F14A B92D 1CAD D27F 41F4 5C3C |
Public keys can be found in `utils/pubkeys`.

2
cmake/VersionMonero.cmake

@ -46,4 +46,4 @@ else ()
set(MONERO_VERSION "${TAG}")
endif()
configure_file("cmake/config-feather.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-feather.h")
configure_file("cmake/config-wowlet.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-wowlet.h")

12
cmake/VersionFeather.cmake → cmake/VersionWowlet.cmake

@ -10,8 +10,8 @@ if(RET)
# Something went wrong, set the version tag to -unknown
message(WARNING "Cannot determine current commit. Make sure that you are building either from a Git working tree or from a source archive.")
set(FEATHER_BRANCH "unknown")
configure_file("cmake/config-feather.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-feather.h")
set(WOWLET_BRANCH "unknown")
configure_file("cmake/config-wowlet.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-wowlet.h")
else()
string(SUBSTRING ${COMMIT} 0 9 COMMIT)
message(STATUS "You are currently on commit ${COMMIT}")
@ -21,19 +21,19 @@ else()
if(NOT TAGGEDCOMMIT)
message(STATUS "Cannot determine most recent tag. Make sure that you are building either from a Git working tree or from a source archive.")
set(FEATHER_BRANCH "${COMMIT}")
set(WOWLET_BRANCH "${COMMIT}")
else()
message(STATUS "The most recent tag was at ${TAGGEDCOMMIT}")
# Check if we're building that tagged commit or a different one
if(COMMIT STREQUAL TAGGEDCOMMIT)
message(STATUS "You are building a tagged release")
set(FEATHER_BRANCH "release")
set(WOWLET_BRANCH "release")
else()
message(STATUS "You are ahead of or behind a tagged release")
set(FEATHER_BRANCH "${COMMIT}")
set(WOWLET_BRANCH "${COMMIT}")
endif()
endif()
configure_file("cmake/config-feather.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-feather.h")
configure_file("cmake/config-wowlet.h.cmake" "${CMAKE_CURRENT_SOURCE_DIR}/src/config-wowlet.h")
endif()

12
cmake/config-feather.h.cmake

@ -1,12 +0,0 @@
#ifndef FEATHER_VERSION_H
#define FEATHER_VERSION_H
#define FEATHER_VERSION "@VERSION@"
#define FEATHER_BRANCH "@FEATHER_BRANCH@"
#define MONERO_VERSION "@MONERO_VERSION@"
#define MONERO_BRANCH "@MONERO_BRANCH@"
#define TOR_VERSION "@TOR_VERSION@"
#endif //FEATHER_VERSION_H

12
cmake/config-wowlet.h.cmake

@ -0,0 +1,12 @@
#ifndef WOWLET_VERSION_H
#define WOWLET_VERSION_H
#define WOWLET_VERSION "@VERSION@"
#define WOWLET_BRANCH "@WOWLET_BRANCH@"
#define MONERO_VERSION "@MONERO_VERSION@"
#define MONERO_BRANCH "@MONERO_BRANCH@"
#define TOR_VERSION "@TOR_VERSION@"
#endif //WOWLET_VERSION_H

2
src/CMakeLists.txt

@ -93,7 +93,7 @@ file(GLOB_RECURSE SRC_SOURCES *.cpp)
file(GLOB_RECURSE SRC_HEADERS *.h)
target_include_directories(wowlet PUBLIC
${CMAKE_BINARY_DIR}/src/feather_autogen/include
${CMAKE_BINARY_DIR}/src/wowlet_autogen/include
${CMAKE_SOURCE_DIR}/monero/include
${CMAKE_SOURCE_DIR}/monero/src
${CMAKE_SOURCE_DIR}/monero/external/easylogging++

16
src/appcontext.cpp

@ -142,7 +142,7 @@ AppContext::AppContext(QCommandLineParser *cmdargs) {
this->walletManager = WalletManager::instance();
QString logPath = QString("%1/daemon.log").arg(configDirectory);
Monero::Utils::onStartup();
Monero::Wallet::init("", "feather", logPath.toStdString(), true);
Monero::Wallet::init("", "wowlet", logPath.toStdString(), true);
bool logLevelFromEnv;
int logLevel = qEnvironmentVariableIntValue("MONERO_LOG_LEVEL", &logLevelFromEnv);
@ -444,7 +444,7 @@ void AppContext::onWSMessage(const QJsonObject &msg) {
}
void AppContext::onWSNodes(const QJsonArray &nodes) {
QList<QSharedPointer<FeatherNode>> l;
QList<QSharedPointer<WowletNode>> l;
for (auto &&entry: nodes) {
auto obj = entry.toObject();
auto nettype = obj.value("nettype");
@ -463,12 +463,12 @@ void AppContext::onWSNodes(const QJsonArray &nodes) {
if(type == "tor" && (!(this->isTails || this->isWhonix || this->isTorSocks)))
continue;
auto node = new FeatherNode(
auto node = new WowletNode(
obj.value("address").toString(),
obj.value("height").toInt(),
obj.value("target_height").toInt(),
obj.value("online").toBool());
QSharedPointer<FeatherNode> r = QSharedPointer<FeatherNode>(node);
QSharedPointer<WowletNode> r = QSharedPointer<WowletNode>(node);
l.append(r);
}
this->nodes->onWSNodesReceived(l);
@ -536,7 +536,7 @@ void AppContext::createConfigDirectory(const QString &dir) {
}
}
void AppContext::createWallet(FeatherSeed seed, const QString &path, const QString &password) {
void AppContext::createWallet(WowletSeed seed, const QString &path, const QString &password) {
if(Utils::fileExists(path)) {
auto err = QString("Failed to write wallet to path: \"%1\"; file already exists.").arg(path);
qCritical() << err;
@ -552,7 +552,7 @@ void AppContext::createWallet(FeatherSeed seed, const QString &path, const QStri
Wallet *wallet = nullptr;
if (seed.seedType == SeedType::TEVADOR) {
wallet = this->walletManager->createDeterministicWalletFromSpendKey(path, password, seed.language, this->networkType, seed.spendKey, seed.restoreHeight, this->kdfRounds);
wallet->setCacheAttribute("feather.seed", seed.mnemonic.join(" "));
wallet->setCacheAttribute("wowlet.seed", seed.mnemonic.join(" "));
}
if (seed.seedType == SeedType::MONERO) {
wallet = this->walletManager->recoveryWallet(path, password, seed.mnemonic.join(" "), "", this->networkType, seed.restoreHeight, this->kdfRounds);
@ -614,7 +614,7 @@ void AppContext::initRestoreHeights() {
}
void AppContext::onSetRestoreHeight(quint64 height){
auto seed = this->currentWallet->getCacheAttribute("feather.seed");
auto seed = this->currentWallet->getCacheAttribute("wowlet.seed");
if(!seed.isEmpty()) {
const auto msg = "This wallet has a 14 word mnemonic seed which has the restore height embedded.";
emit setRestoreHeightError(msg);
@ -811,7 +811,7 @@ void AppContext::onTransactionCommitted(bool status, PendingTransaction *tx, con
emit transactionCommitted(status, tx, txid);
// this tx was a donation to Feather, stop our nagging
// this tx was a donation to WOWlet, stop our nagging
if(this->donationSending) {
this->donationSending = false;
config()->set(Config::donateBeg, -1);

15
src/appcontext.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_APPCONTEXT_H
#define FEATHER_APPCONTEXT_H
#ifndef WOWLET_APPCONTEXT_H
#define WOWLET_APPCONTEXT_H
#include <QObject>
#include <QProcess>
@ -17,7 +17,7 @@
#include "utils/xmrig.h"
#include "utils/wsclient.h"
#include "utils/txfiathistory.h"
#include "utils/FeatherSeed.h"
#include "utils/WowletSeed.h"
#include "widgets/RedditPost.h"
#include "widgets/CCSEntry.h"
#include "utils/RestoreHeightLookup.h"
@ -99,7 +99,7 @@ public:
bool refreshed = false;
WalletManager *walletManager;
Wallet *currentWallet = nullptr;
void createWallet(FeatherSeed seed, const QString &path, const QString &password);
void createWallet(WowletSeed seed, const QString &path, const QString &password);
void createWalletViewOnly(const QString &path, const QString &password, const QString &address, const QString &viewkey, const QString &spendkey, quint64 restoreHeight);
void createWalletFinish(const QString &password);
void syncStatusUpdated(quint64 height, quint64 target);
@ -166,12 +166,12 @@ signals:
void createTransactionCancelled(const QVector<QString> &address, double amount);
void createTransactionSuccess(PendingTransaction *tx, const QVector<QString> &address);
void redditUpdated(QList<QSharedPointer<RedditPost>> &posts);
void nodesUpdated(QList<QSharedPointer<FeatherNode>> &nodes);
void nodesUpdated(QList<QSharedPointer<WowletNode>> &nodes);
void ccsUpdated(QList<QSharedPointer<CCSEntry>> &entries);
void suchWowUpdated(const QJsonArray &such_data);
void nodeSourceChanged(NodeSource nodeSource);
void XMRigDownloads(const QJsonObject &data);
void setCustomNodes(QList<FeatherNode> nodes);
void setCustomNodes(QList<WowletNode> nodes);
void openAliasResolveError(const QString &msg);
void openAliasResolved(const QString &address, const QString &openAlias);
void setRestoreHeightError(const QString &msg);
@ -186,7 +186,8 @@ private:
WalletKeysFilesModel *m_walletKeysFilesModel;
const int m_donationBoundary = 15;
QTimer m_storeTimer;
// @TODO: Replace url
QUrl m_wsUrl = QUrl(QStringLiteral("ws://feathercitimllbmdktu6cmjo3fizgmyfrntntqzu6xguqa2rlq5cgid.onion/ws"));
};
#endif //FEATHER_APPCONTEXT_H
#endif //WOWLET_APPCONTEXT_H

2
src/assets/about.txt

@ -1,4 +1,4 @@
WOWlet <feather_version> (<feather_git_head>)
WOWlet <wowlet_version> (<wowlet_git_head>)
Website: https://wownero.org
E-mail: dev@wownero.org

6
src/cli.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_CLI_H
#define FEATHER_CLI_H
#ifndef WOWLET_CLI_H
#define WOWLET_CLI_H
#include <QtCore>
#include "appcontext.h"
@ -46,4 +46,4 @@ signals:
void closeApplication();
};
#endif //FEATHER_CLI_H
#endif //WOWLET_CLI_H

6
src/coinswidget.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_COINSWIDGET_H
#define FEATHER_COINSWIDGET_H
#ifndef WOWLET_COINSWIDGET_H
#define WOWLET_COINSWIDGET_H
#include "appcontext.h"
#include "model/CoinsModel.h"
@ -76,4 +76,4 @@ private:
};
#endif //FEATHER_COINSWIDGET_H
#endif //WOWLET_COINSWIDGET_H

12
src/config-feather.h

@ -0,0 +1,12 @@
#ifndef WOWLET_VERSION_H
#define WOWLET_VERSION_H
#define WOWLET_VERSION "beta-1"
#define WOWLET_BRANCH "fd09b8875"
#define MONERO_VERSION "v0.9.0.2"
#define MONERO_BRANCH "f611d5c9e"
#define TOR_VERSION ""
#endif //WOWLET_VERSION_H

6
src/dialog/WalletCacheDebugDialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_WALLETCACHEDEBUGDIALOG_H
#define FEATHER_WALLETCACHEDEBUGDIALOG_H
#ifndef WOWLET_WALLETCACHEDEBUGDIALOG_H
#define WOWLET_WALLETCACHEDEBUGDIALOG_H
#include <QDialog>
#include "appcontext.h"
@ -27,4 +27,4 @@ private:
#endif //FEATHER_WALLETCACHEDEBUGDIALOG_H
#endif //WOWLET_WALLETCACHEDEBUGDIALOG_H

6
src/dialog/aboutdialog.cpp

@ -4,7 +4,7 @@
#include "aboutdialog.h"
#include "ui_aboutdialog.h"
#include "utils/utils.h"
#include "config-feather.h"
#include "config-wowlet.h"
AboutDialog::AboutDialog(QWidget *parent)
: QDialog(parent)
@ -17,8 +17,8 @@ AboutDialog::AboutDialog(QWidget *parent)
ui->aboutImage->setPixmap(p.scaled(128, 128, Qt::KeepAspectRatio, Qt::SmoothTransformation));
auto about = Utils::fileOpenQRC(":assets/about.txt");
auto about_text = Utils::barrayToString(about);
about_text = about_text.replace("<feather_version>", FEATHER_VERSION);
about_text = about_text.replace("<feather_git_head>", FEATHER_BRANCH);
about_text = about_text.replace("<wowlet_version>", WOWLET_VERSION);
about_text = about_text.replace("<wowlet_git_head>", WOWLET_BRANCH);
about_text = about_text.replace("<current_year>", QString::number(QDate::currentDate().year()));
ui->copyrightText->setPlainText(about_text);

2
src/dialog/aboutdialog.ui

@ -25,7 +25,7 @@
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="Feather">
<widget class="QWidget" name="WOWlet">
<attribute name="title">
<string>WOWlet</string>
</attribute>

6
src/dialog/balancedialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_BALANCEDIALOG_H
#define FEATHER_BALANCEDIALOG_H
#ifndef WOWLET_BALANCEDIALOG_H
#define WOWLET_BALANCEDIALOG_H
#include "libwalletqt/Wallet.h"
@ -24,4 +24,4 @@ private:
Ui::BalanceDialog *ui;
};
#endif //FEATHER_BALANCEDIALOG_H
#endif //WOWLET_BALANCEDIALOG_H

6
src/dialog/broadcasttxdialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_BROADCASTTXDIALOG_H
#define FEATHER_BROADCASTTXDIALOG_H
#ifndef WOWLET_BROADCASTTXDIALOG_H
#define WOWLET_BROADCASTTXDIALOG_H
#include <QDialog>
#include "appcontext.h"
@ -32,4 +32,4 @@ private:
};
#endif //FEATHER_BROADCASTTXDIALOG_H
#endif //WOWLET_BROADCASTTXDIALOG_H

6
src/dialog/contactsdialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_CONTACTSDIALOG_H
#define FEATHER_CONTACTSDIALOG_H
#ifndef WOWLET_CONTACTSDIALOG_H
#define WOWLET_CONTACTSDIALOG_H
#include <QDialog>
@ -28,4 +28,4 @@ private:
QString m_name;
};
#endif //FEATHER_CONTACTSDIALOG_H
#endif //WOWLET_CONTACTSDIALOG_H

8
src/dialog/debuginfodialog.cpp

@ -3,7 +3,7 @@
#include "debuginfodialog.h"
#include "ui_debuginfodialog.h"
#include "config-feather.h"
#include "config-wowlet.h"
DebugInfoDialog::DebugInfoDialog(AppContext *ctx, QWidget *parent)
: QDialog(parent)
@ -40,7 +40,7 @@ void DebugInfoDialog::updateInfo() {
else
torStatus = "Unknown";
ui->label_featherVersion->setText(QString("%1-%2").arg(FEATHER_VERSION, FEATHER_BRANCH));
ui->label_wowletVersion->setText(QString("%1-%2").arg(WOWLET_VERSION, WOWLET_BRANCH));
ui->label_moneroVersion->setText(QString("%1-%2").arg(MONERO_VERSION, MONERO_BRANCH));
ui->label_walletHeight->setText(QString::number(m_ctx->currentWallet->blockChainHeight()));
@ -56,7 +56,7 @@ void DebugInfoDialog::updateInfo() {
ui->label_websocketStatus->setText(Utils::QtEnumToString(m_ctx->ws->webSocket.state()).remove("State"));
ui->label_netType->setText(Utils::QtEnumToString(m_ctx->currentWallet->nettype()));
ui->label_seedType->setText(m_ctx->currentWallet->getCacheAttribute("feather.seed").isEmpty() ? "25 word" : "14 word");
ui->label_seedType->setText(m_ctx->currentWallet->getCacheAttribute("wowlet.seed").isEmpty() ? "25 word" : "14 word");
ui->label_viewOnly->setText(m_ctx->currentWallet->viewOnly() ? "True" : "False");
ui->label_primaryOnly->setText(m_ctx->currentWallet->balance(0) == m_ctx->currentWallet->balanceAll() ? "True" : "False");
@ -89,7 +89,7 @@ QString DebugInfoDialog::statusToString(Wallet::ConnectionStatus status) {
void DebugInfoDialog::copyToClipboad() {
// Two spaces at the end of each line are for newlines in Markdown
QString text = "";
text += QString("WOWlet version: %1 \n").arg(ui->label_featherVersion->text());
text += QString("WOWlet version: %1 \n").arg(ui->label_wowletVersion->text());
text += QString("Wownero version: %1 \n").arg(ui->label_moneroVersion->text());
text += QString("Wallet height: %1 \n").arg(ui->label_walletHeight->text());

6
src/dialog/debuginfodialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_DEBUGINFODIALOG_H
#define FEATHER_DEBUGINFODIALOG_H
#ifndef WOWLET_DEBUGINFODIALOG_H
#define WOWLET_DEBUGINFODIALOG_H
#include <QDialog>
#include "appcontext.h"
@ -31,4 +31,4 @@ private:
Ui::DebugInfoDialog *ui;
};
#endif //FEATHER_DEBUGINFODIALOG_H
#endif //WOWLET_DEBUGINFODIALOG_H

2
src/dialog/debuginfodialog.ui

@ -24,7 +24,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_featherVersion">
<widget class="QLabel" name="label_wowletVersion">
<property name="text">
<string>TextLabel</string>
</property>

6
src/dialog/keysdialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_KEYSDIALOG_H
#define FEATHER_KEYSDIALOG_H
#ifndef WOWLET_KEYSDIALOG_H
#define WOWLET_KEYSDIALOG_H
#include <QDialog>
#include "appcontext.h"
@ -24,4 +24,4 @@ private:
};
#endif //FEATHER_KEYSDIALOG_H
#endif //WOWLET_KEYSDIALOG_H

6
src/dialog/outputinfodialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_OUTPUTINFODIALOG_H
#define FEATHER_OUTPUTINFODIALOG_H
#ifndef WOWLET_OUTPUTINFODIALOG_H
#define WOWLET_OUTPUTINFODIALOG_H
#include <QDialog>
#include "libwalletqt/Coins.h"
@ -25,4 +25,4 @@ private:
};
#endif //FEATHER_OUTPUTINFODIALOG_H
#endif //WOWLET_OUTPUTINFODIALOG_H

6
src/dialog/outputsweepdialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_OUTPUTSWEEPDIALOG_H
#define FEATHER_OUTPUTSWEEPDIALOG_H
#ifndef WOWLET_OUTPUTSWEEPDIALOG_H
#define WOWLET_OUTPUTSWEEPDIALOG_H
#include <QDialog>
@ -31,4 +31,4 @@ private:
};
#endif //FEATHER_OUTPUTSWEEPDIALOG_H
#endif //WOWLET_OUTPUTSWEEPDIALOG_H

6
src/dialog/passwordchangedialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_PASSWORDCHANGEDIALOG_H
#define FEATHER_PASSWORDCHANGEDIALOG_H
#ifndef WOWLET_PASSWORDCHANGEDIALOG_H
#define WOWLET_PASSWORDCHANGEDIALOG_H
#include <QDialog>
#include "libwalletqt/Wallet.h"
@ -27,4 +27,4 @@ private:
void setPassword();
};
#endif //FEATHER_PASSWORDCHANGEDIALOG_H
#endif //WOWLET_PASSWORDCHANGEDIALOG_H

6
src/dialog/passworddialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_PASSWORDDIALOG_H
#define FEATHER_PASSWORDDIALOG_H
#ifndef WOWLET_PASSWORDDIALOG_H
#define WOWLET_PASSWORDDIALOG_H
#include <QDialog>
@ -24,4 +24,4 @@ private:
Ui::PasswordDialog *ui;
};
#endif //FEATHER_PASSWORDDIALOG_H
#endif //WOWLET_PASSWORDDIALOG_H

6
src/dialog/qrcodedialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_QRCODEDIALOG_H
#define FEATHER_QRCODEDIALOG_H
#ifndef WOWLET_QRCODEDIALOG_H
#define WOWLET_QRCODEDIALOG_H
#include <QDialog>
#include "qrcode/QrCode.h"
@ -29,4 +29,4 @@ private:
};
#endif //FEATHER_QRCODEDIALOG_H
#endif //WOWLET_QRCODEDIALOG_H

2
src/dialog/seeddialog.cpp

@ -13,7 +13,7 @@ SeedDialog::SeedDialog(Wallet *wallet, QWidget *parent)
ui->label_restoreHeight->setText(QString::number(wallet->getWalletCreationHeight()));
QString seed_14_words = wallet->getCacheAttribute("feather.seed");
QString seed_14_words = wallet->getCacheAttribute("wowlet.seed");
QString seed_25_words = wallet->getSeed();
if (seed_14_words.isEmpty()) {

6
src/dialog/seeddialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_SEEDDIALOG_H
#define FEATHER_SEEDDIALOG_H
#ifndef WOWLET_SEEDDIALOG_H
#define WOWLET_SEEDDIALOG_H
#include <QDialog>
#include "libwalletqt/Wallet.h"
@ -26,4 +26,4 @@ private:
};
#endif //FEATHER_SEEDDIALOG_H
#endif //WOWLET_SEEDDIALOG_H

6
src/dialog/signverifydialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_SIGNVERIFYDIALOG_H
#define FEATHER_SIGNVERIFYDIALOG_H
#ifndef WOWLET_SIGNVERIFYDIALOG_H
#define WOWLET_SIGNVERIFYDIALOG_H
#include <QDialog>
#include "libwalletqt/Wallet.h"
@ -30,4 +30,4 @@ private slots:
};
#endif //FEATHER_SIGNVERIFYDIALOG_H
#endif //WOWLET_SIGNVERIFYDIALOG_H

6
src/dialog/torinfodialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_TORINFODIALOG_H
#define FEATHER_TORINFODIALOG_H
#ifndef WOWLET_TORINFODIALOG_H
#define WOWLET_TORINFODIALOG_H
#include <QDialog>
@ -29,4 +29,4 @@ private:
};
#endif //FEATHER_TORINFODIALOG_H
#endif //WOWLET_TORINFODIALOG_H

6
src/dialog/transactioninfodialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_TRANSACTIONINFODIALOG_H
#define FEATHER_TRANSACTIONINFODIALOG_H
#ifndef WOWLET_TRANSACTIONINFODIALOG_H
#define WOWLET_TRANSACTIONINFODIALOG_H
#include <QDialog>
#include <QTextCharFormat>
@ -35,4 +35,4 @@ private:
QString m_txKey;
};
#endif //FEATHER_TRANSACTIONINFODIALOG_H
#endif //WOWLET_TRANSACTIONINFODIALOG_H

6
src/dialog/txconfadvdialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_TXCONFADVDIALOG_H
#define FEATHER_TXCONFADVDIALOG_H
#ifndef WOWLET_TXCONFADVDIALOG_H
#define WOWLET_TXCONFADVDIALOG_H
#include <QDialog>
#include <QStandardItemModel>
@ -50,4 +50,4 @@ private:
QMenu *m_exportSignedMenu;
};
#endif //FEATHER_TXCONFADVDIALOG_H
#endif //WOWLET_TXCONFADVDIALOG_H

6
src/dialog/txconfdialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_TXCONFDIALOG_H
#define FEATHER_TXCONFDIALOG_H
#ifndef WOWLET_TXCONFDIALOG_H
#define WOWLET_TXCONFDIALOG_H
#include <QDialog>
#include "libwalletqt/PendingTransaction.h"
@ -33,4 +33,4 @@ private:
QString m_description;
};
#endif //FEATHER_TXCONFDIALOG_H
#endif //WOWLET_TXCONFDIALOG_H

6
src/dialog/tximportdialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_TXIMPORTDIALOG_H
#define FEATHER_TXIMPORTDIALOG_H
#ifndef WOWLET_TXIMPORTDIALOG_H
#define WOWLET_TXIMPORTDIALOG_H
#include <QDialog>
#include "appcontext.h"
@ -36,4 +36,4 @@ private:
};
#endif //FEATHER_TXIMPORTDIALOG_H
#endif //WOWLET_TXIMPORTDIALOG_H

6
src/dialog/verifyproofdialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_VERIFYPROOFDIALOG_H
#define FEATHER_VERIFYPROOFDIALOG_H
#ifndef WOWLET_VERIFYPROOFDIALOG_H
#define WOWLET_VERIFYPROOFDIALOG_H
#include <QDialog>
#include "libwalletqt/Wallet.h"
@ -32,4 +32,4 @@ private:
Wallet *m_wallet;
};
#endif //FEATHER_VERIFYPROOFDIALOG_H
#endif //WOWLET_VERIFYPROOFDIALOG_H

6
src/dialog/viewonlydialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_VIEWONLYDIALOG_H
#define FEATHER_VIEWONLYDIALOG_H
#ifndef WOWLET_VIEWONLYDIALOG_H
#define WOWLET_VIEWONLYDIALOG_H
#include <QDialog>
#include "appcontext.h"
@ -29,4 +29,4 @@ private:
};
#endif //FEATHER_KEYSDIALOG_H
#endif //WOWLET_KEYSDIALOG_H

2
src/dialog/walletinfodialog.cpp

@ -18,7 +18,7 @@ WalletInfoDialog::WalletInfoDialog(AppContext *ctx, QWidget *parent)
ui->label_walletName->setText(keys.fileName().replace(".keys", ""));
ui->label_netType->setText(Utils::QtEnumToString(ctx->currentWallet->nettype()));
ui->label_seedType->setText(ctx->currentWallet->getCacheAttribute("feather.seed").isEmpty() ? "25 word" : "14 word");
ui->label_seedType->setText(ctx->currentWallet->getCacheAttribute("wowlet.seed").isEmpty() ? "25 word" : "14 word");
ui->label_viewOnly->setText(ctx->currentWallet->viewOnly() ? "True" : "False");
ui->label_path->setText(ctx->walletPath);
ui->label_cacheSize->setText(QString("%1 MB").arg(QString::number(cache.size() / 1e6, 'f', 2)));

6
src/dialog/walletinfodialog.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_WALLETINFODIALOG_H
#define FEATHER_WALLETINFODIALOG_H
#ifndef WOWLET_WALLETINFODIALOG_H
#define WOWLET_WALLETINFODIALOG_H
#include <QDialog>
@ -27,4 +27,4 @@ private:
AppContext *m_ctx;
};
#endif //FEATHER_WALLETINFODIALOG_H
#endif //WOWLET_WALLETINFODIALOG_H

6
src/globals.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_GLOBALS_H
#define FEATHER_GLOBALS_H
#ifndef WOWLET_GLOBALS_H
#define WOWLET_GLOBALS_H
#include <QtGlobal>
@ -11,4 +11,4 @@ namespace globals
const qreal cdiv = 1e11;
}
#endif //FEATHER_GLOBALS_H
#endif //WOWLET_GLOBALS_H

6
src/historywidget.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_HISTORYWIDGET_H
#define FEATHER_HISTORYWIDGET_H
#ifndef WOWLET_HISTORYWIDGET_H
#define WOWLET_HISTORYWIDGET_H
#include "model/TransactionHistoryModel.h"
#include "model/TransactionHistoryProxyModel.h"
@ -60,4 +60,4 @@ private:
Wallet *m_wallet = nullptr;
};
#endif //FEATHER_HISTORYWIDGET_H
#endif //WOWLET_HISTORYWIDGET_H

6
src/libwalletqt/AddressBookInfo.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2014-2021, The Monero Project.
#ifndef FEATHER_ADDRESSBOOKINFO_H
#define FEATHER_ADDRESSBOOKINFO_H
#ifndef WOWLET_ADDRESSBOOKINFO_H
#define WOWLET_ADDRESSBOOKINFO_H
#include <wallet/api/wallet2_api.h>
#include <QObject>
@ -25,4 +25,4 @@ private:
};
#endif //FEATHER_ADDRESSBOOKINFO_H
#endif //WOWLET_ADDRESSBOOKINFO_H

6
src/libwalletqt/Coins.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_COINS_H
#define FEATHER_COINS_H
#ifndef WOWLET_COINS_H
#define WOWLET_COINS_H
#include <functional>
@ -49,4 +49,4 @@ private:
mutable QList<CoinsInfo*> m_tinfo;
};
#endif //FEATHER_COINS_H
#endif //WOWLET_COINS_H

6
src/libwalletqt/CoinsInfo.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_COINSINFO_H
#define FEATHER_COINSINFO_H
#ifndef WOWLET_COINSINFO_H
#define WOWLET_COINSINFO_H
#include <wallet/api/wallet2_api.h>
#include <QObject>
@ -88,4 +88,4 @@ private:
bool m_coinbase;
};
#endif //FEATHER_COINSINFO_H
#endif //WOWLET_COINSINFO_H

6
src/libwalletqt/ConstructionInfo.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2014-2021, The Monero Project.
#ifndef FEATHER_CONSTRUCTIONINFO_H
#define FEATHER_CONSTRUCTIONINFO_H
#ifndef WOWLET_CONSTRUCTIONINFO_H
#define WOWLET_CONSTRUCTIONINFO_H
#include <wallet/api/wallet2_api.h>
#include <QObject>
@ -43,4 +43,4 @@ private:
};
#endif //FEATHER_CONSTRUCTIONINFO_H
#endif //WOWLET_CONSTRUCTIONINFO_H

6
src/libwalletqt/Input.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2014-2021, The Monero Project.
#ifndef FEATHER_INPUT_H
#define FEATHER_INPUT_H
#ifndef WOWLET_INPUT_H
#define WOWLET_INPUT_H
#include <wallet/api/wallet2_api.h>
#include <QObject>
@ -26,4 +26,4 @@ public:
};
#endif //FEATHER_INPUT_H
#endif //WOWLET_INPUT_H

6
src/libwalletqt/PendingTransactionInfo.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2014-2021, The Monero Project.
#ifndef FEATHER_PENDINGTRANSACTIONINFO_H
#define FEATHER_PENDINGTRANSACTIONINFO_H
#ifndef WOWLET_PENDINGTRANSACTIONINFO_H
#define WOWLET_PENDINGTRANSACTIONINFO_H
#include <wallet/api/wallet2_api.h>
#include "ConstructionInfo.h"
@ -43,4 +43,4 @@ private:
};
#endif //FEATHER_PENDINGTRANSACTIONINFO_H
#endif //WOWLET_PENDINGTRANSACTIONINFO_H

6
src/libwalletqt/Ring.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_RINGS_H
#define FEATHER_RINGS_H
#ifndef WOWLET_RINGS_H
#define WOWLET_RINGS_H
#include <wallet/api/wallet2_api.h>
#include <QObject>
@ -25,4 +25,4 @@ public:
std::vector<uint64_t> ringMembers() const { return m_ringMembers; }
};
#endif //FEATHER_RINGS_H
#endif //WOWLET_RINGS_H

2
src/libwalletqt/Wallet.cpp

@ -22,7 +22,7 @@ namespace {
static const int DAEMON_BLOCKCHAIN_TARGET_HEIGHT_CACHE_TTL_SECONDS = 30;
static const int WALLET_CONNECTION_STATUS_CACHE_TTL_SECONDS = 5;
static constexpr char ATTRIBUTE_SUBADDRESS_ACCOUNT[] = "feather.subaddress_account";
static constexpr char ATTRIBUTE_SUBADDRESS_ACCOUNT[] = "wowlet.subaddress_account";
}
Wallet::Wallet(QObject * parent)

6
src/main.cpp

@ -6,7 +6,7 @@
#include <QtCore>
#include <QtGui>
#include "config-feather.h"
#include "config-wowlet.h"
#include "mainwindow.h"
#include "cli.h"
@ -155,7 +155,7 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) {
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton);
QApplication::setDesktopSettingsAware(true); // use system font
QApplication::setApplicationVersion(FEATHER_VERSION);
QApplication::setApplicationVersion(WOWLET_VERSION);
QApplication app(argc, argv);
@ -168,7 +168,7 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) {
if(!quiet) {
QMap<QString, QString> info;
info["Qt"] = QT_VERSION_STR;
info["WOWlet"] = FEATHER_VERSION;
info["WOWlet"] = WOWLET_VERSION;
if (stagenet) info["Mode"] = "Stagenet";
else if (testnet) info["Mode"] = "Testnet";
else info["Mode"] = "Mainnet";

6
src/mainwindow.cpp

@ -328,7 +328,7 @@ MainWindow::MainWindow(AppContext *ctx, QWidget *parent) :
#ifdef Q_OS_MAC
m_touchbar = new KDMacTouchBar(this);
m_touchbarActionWelcome = new QAction(QIcon(":/assets/images/wowlet.png"), "Welcome to WOWlet!");
m_touchbarWalletItems = {ui->actionSettings, ui->actionCalculator, ui->actionKeys, ui->actionDonate_to_Feather};
m_touchbarWalletItems = {ui->actionSettings, ui->actionCalculator, ui->actionKeys, ui->actionDonate_to_Wowlet};
m_touchbarWizardItems = {m_touchbarActionWelcome};
#endif
@ -480,7 +480,7 @@ void MainWindow::initMenu() {
// About screen
connect(ui->actionAbout, &QAction::triggered, this, &MainWindow::menuAboutClicked);
connect(ui->actionDonate_to_Feather, &QAction::triggered, this, &MainWindow::donateButtonClicked);
connect(ui->actionDonate_to_Wowlet, &QAction::triggered, this, &MainWindow::donateButtonClicked);
// Close wallet
connect(ui->actionClose, &QAction::triggered, this, &MainWindow::menuWalletCloseClicked);
@ -876,7 +876,7 @@ void MainWindow::updatePasswordIcon() {
void MainWindow::showRestoreHeightDialog() {
// settings custom restore height is only available for 25 word seeds
auto seed = m_ctx->currentWallet->getCacheAttribute("feather.seed");
auto seed = m_ctx->currentWallet->getCacheAttribute("wowlet.seed");
if(!seed.isEmpty()) {
const auto msg = "This wallet has a 14 word mnemonic seed which has the restore height embedded.";
QMessageBox::warning(this, "Cannot set custom restore height", msg);

4
src/mainwindow.ui

@ -429,7 +429,7 @@
</property>
<addaction name="actionAbout"/>
<addaction name="actionOfficialWebsite"/>
<addaction name="actionDonate_to_Feather"/>
<addaction name="actionDonate_to_Wowlet"/>
<addaction name="separator"/>
<addaction name="actionReport_bug"/>
<addaction name="actionShow_debug_info"/>
@ -504,7 +504,7 @@
<string>Report bug</string>
</property>
</action>
<action name="actionDonate_to_Feather">
<action name="actionDonate_to_Wowlet">
<property name="text">
<string>Donate to WOWlet</string>
</property>

6
src/model/AddressBookProxyModel.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_ADDRESSBOOKPROXYMODEL_H
#define FEATHER_ADDRESSBOOKPROXYMODEL_H
#ifndef WOWLET_ADDRESSBOOKPROXYMODEL_H
#define WOWLET_ADDRESSBOOKPROXYMODEL_H
#include <QSortFilterProxyModel>
@ -25,4 +25,4 @@ private:
QRegExp m_searchRegExp;
};
#endif //FEATHER_ADDRESSBOOKPROXYMODEL_H
#endif //WOWLET_ADDRESSBOOKPROXYMODEL_H

6
src/model/CCSModel.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_CCSMODEL_H
#define FEATHER_CCSMODEL_H
#ifndef WOWLET_CCSMODEL_H
#define WOWLET_CCSMODEL_H
#include <QAbstractTableModel>
#include <QSharedPointer>
@ -39,4 +39,4 @@ private:
};
#endif //FEATHER_CCSMODEL_H
#endif //WOWLET_CCSMODEL_H

6
src/model/CoinsModel.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_COINSMODEL_H
#define FEATHER_COINSMODEL_H
#ifndef WOWLET_COINSMODEL_H
#define WOWLET_COINSMODEL_H
#include <wallet/api/wallet2_api.h>
@ -55,4 +55,4 @@ private:
QIcon m_eyeBlind;
};
#endif //FEATHER_COINSMODEL_H
#endif //WOWLET_COINSMODEL_H

6
src/model/CoinsProxyModel.h

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#ifndef FEATHER_COINSPROXYMODEL_H
#define FEATHER_COINSPROXYMODEL_H
#ifndef WOWLET_COINSPROXYMODEL_H
#define WOWLET_COINSPROXYMODEL_H
#include <QSortFilterProxyModel>
#include "libwalletqt/Coins.h"
@ -25,4 +25,4 @@ private:
Coins *m_coins;
};
#endif //FEATHER_COINSPROXYMODEL_H
#endif //WOWLET_COINSPROXYMODEL_H

6
src/model/ModelUtils.h

@ -1,8 +1,8 @@