mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-02 21:14:05 +01:00
Merge branch 'master' into add-lza-nodes
This commit is contained in:
+32
-49
@@ -1,6 +1,6 @@
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
# pthread
|
||||
find_package(Threads REQUIRED)
|
||||
@@ -11,7 +11,6 @@ set(QT_COMPONENTS
|
||||
Gui
|
||||
Network
|
||||
Svg
|
||||
Xml
|
||||
WebSockets
|
||||
)
|
||||
|
||||
@@ -33,6 +32,10 @@ add_subdirectory(openpgp)
|
||||
|
||||
qt_add_resources(RESOURCES assets.qrc assets_tor.qrc)
|
||||
|
||||
if (DEPENDS)
|
||||
find_library(ICONV_LIBRARIES iconv)
|
||||
endif()
|
||||
|
||||
# Compile source files (.h/.cpp)
|
||||
file(GLOB SOURCE_FILES
|
||||
"*.h"
|
||||
@@ -66,19 +69,30 @@ file(GLOB SOURCE_FILES
|
||||
"polyseed/*.h"
|
||||
"polyseed/*.cpp"
|
||||
"polyseed/*.c"
|
||||
"qrcode_scanner/QrCodeUtils.cpp"
|
||||
"qrcode_scanner/QrCodeUtils.h"
|
||||
"qrcode_utils/QrCodeUtils.cpp"
|
||||
"qrcode_utils/QrCodeUtils.h"
|
||||
"monero_seed/argon2/blake2/*.c"
|
||||
"monero_seed/argon2/*.c"
|
||||
"monero_seed/*.cpp"
|
||||
"monero_seed/*.c"
|
||||
"monero_seed/*.hpp"
|
||||
)
|
||||
|
||||
if (WITH_SCANNER AND NOT Qt6_FOUND)
|
||||
file(GLOB SCANNER_FILES
|
||||
"qrcode_scanner/*.h"
|
||||
"qrcode_scanner/*.cpp")
|
||||
|
||||
list(APPEND SOURCE_FILES
|
||||
${SCANNER_FILES})
|
||||
endif()
|
||||
|
||||
if (WITH_SCANNER AND Qt6_FOUND)
|
||||
file(GLOB SCANNER_FILES
|
||||
"qrcode_scanner_qt6/*.h"
|
||||
"qrcode_scanner_qt6/*.cpp")
|
||||
endif()
|
||||
|
||||
list(APPEND SOURCE_FILES
|
||||
${SCANNER_FILES})
|
||||
|
||||
set(EXECUTABLE_FLAG)
|
||||
if(MINGW)
|
||||
set(EXECUTABLE_FLAG WIN32)
|
||||
@@ -92,31 +106,17 @@ if(MINGW)
|
||||
list(APPEND RESOURCES ${ICON_RES})
|
||||
endif()
|
||||
|
||||
# mac os bundle
|
||||
if(APPLE)
|
||||
set(ICON ${PROJECT_SOURCE_DIR}/src/assets/images/appicons/appicon.icns)
|
||||
set_source_files_properties(${ICON} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
|
||||
list(APPEND RESOURCES ${ICON})
|
||||
endif()
|
||||
|
||||
add_executable(feather ${EXECUTABLE_FLAG} main.cpp
|
||||
${SOURCE_FILES}
|
||||
${RESOURCES}
|
||||
${ASSETS_TOR}
|
||||
)
|
||||
|
||||
# mac os bundle
|
||||
set_target_properties(feather PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||
MACOSX_BUNDLE TRUE
|
||||
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_SOURCE_DIR}/utils/Info.plist"
|
||||
LINK_FLAGS_RELEASE -s
|
||||
)
|
||||
|
||||
set_property(TARGET feather PROPERTY RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
|
||||
|
||||
target_include_directories(feather PUBLIC ${QtGui_PRIVATE_INCLUDE_DIRS})
|
||||
|
||||
target_include_directories(feather PUBLIC
|
||||
${CMAKE_BINARY_DIR}/src/feather_autogen/include
|
||||
${CMAKE_SOURCE_DIR}/monero/include
|
||||
@@ -125,12 +125,10 @@ target_include_directories(feather PUBLIC
|
||||
${CMAKE_SOURCE_DIR}/monero/contrib/epee/include
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/daemon
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libwalletqt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/model
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/utils
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/qrcode
|
||||
${X11_INCLUDE_DIR}
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${QtCore_INCLUDE_DIRS}
|
||||
${QtWidgets_INCLUDE_DIRS}
|
||||
@@ -140,11 +138,11 @@ target_include_directories(feather PUBLIC
|
||||
${QtSvgWidgets_INCLUDE_DIRS}
|
||||
${QtXml_INCLUDE_DIRS}
|
||||
${QtWebSockets_INCLUDE_DIRS}
|
||||
${ZLIB_INCLUDE_DIRS}
|
||||
${LIBZIP_INCLUDE_DIRS}
|
||||
${ZLIB_INCLUDE_DIRS}
|
||||
${ZBAR_INCLUDE_DIR}
|
||||
${POLYSEED_INCLUDE_DIR}
|
||||
)
|
||||
)
|
||||
|
||||
if(WITH_SCANNER)
|
||||
target_include_directories(feather PUBLIC
|
||||
@@ -177,7 +175,7 @@ if(XMRIG)
|
||||
target_compile_definitions(feather PRIVATE HAS_XMRIG=1)
|
||||
endif()
|
||||
|
||||
if(WITH_SCANNER AND NOT Qt6_FOUND)
|
||||
if(WITH_SCANNER)
|
||||
target_compile_definitions(feather PRIVATE WITH_SCANNER=1)
|
||||
endif()
|
||||
|
||||
@@ -219,16 +217,6 @@ if (WITH_SCANNER)
|
||||
)
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${QtWidgets_EXECUTABLE_COMPILE_FLAGS}")
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
# https://stackoverflow.com/questions/57766620/cmake-add-library-doesnt-initialize-static-global-variable
|
||||
# so that contrib/monero-seed/src/gf_elem.cpp properly initializes. A better solution is welcome.
|
||||
target_link_libraries(feather -Wl,--whole-archive monero-seed -Wl,--no-whole-archive)
|
||||
else()
|
||||
target_link_libraries(feather monero-seed)
|
||||
endif()
|
||||
|
||||
target_link_libraries(feather
|
||||
wallet_merged
|
||||
${LMDB_LIBRARY}
|
||||
@@ -246,18 +234,21 @@ target_link_libraries(feather
|
||||
Qt::Gui
|
||||
Qt::Network
|
||||
Qt::Svg
|
||||
Qt::Xml
|
||||
Qt::WebSockets
|
||||
${ICU_LIBRARIES}
|
||||
openpgp
|
||||
Threads::Threads
|
||||
${QRENCODE_LIBRARY}
|
||||
${ZLIB_LIBRARIES}
|
||||
${LIBZIP_LIBRARIES}
|
||||
${ZBAR_LIBRARIES}
|
||||
${POLYSEED_LIBRARY}
|
||||
SingleApplication::SingleApplication
|
||||
)
|
||||
${ICU_LIBRARIES}
|
||||
${LIBZIP_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
)
|
||||
|
||||
if(DEPENDS)
|
||||
target_link_libraries(feather ${ICONV_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(Qt6_FOUND)
|
||||
target_link_libraries(feather Qt::SvgWidgets)
|
||||
@@ -293,14 +284,6 @@ if(STATIC AND NOT Qt6_FOUND)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(X11_FOUND)
|
||||
target_link_libraries(feather ${X11_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
include(Deploy)
|
||||
endif()
|
||||
|
||||
install(TARGETS feather
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}
|
||||
)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "CalcWidget.h"
|
||||
#include "ui_CalcWidget.h"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_CALCWIDGET_H
|
||||
#define FEATHER_CALCWIDGET_H
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "CalcWindow.h"
|
||||
#include "ui_CalcWindow.h"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_CALCWINDOW_H
|
||||
#define FEATHER_CALCWINDOW_H
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "CoinsWidget.h"
|
||||
#include "ui_CoinsWidget.h"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_COINSWIDGET_H
|
||||
#define FEATHER_COINSWIDGET_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "ContactsWidget.h"
|
||||
#include "ui_ContactsWidget.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_CONTACTSWIDGET_H
|
||||
#define FEATHER_CONTACTSWIDGET_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "HistoryWidget.h"
|
||||
#include "ui_HistoryWidget.h"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_HISTORYWIDGET_H
|
||||
#define FEATHER_HISTORYWIDGET_H
|
||||
|
||||
+18
-4
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "MainWindow.h"
|
||||
#include "ui_MainWindow.h"
|
||||
@@ -46,6 +46,8 @@ MainWindow::MainWindow(WindowManager *windowManager, Wallet *wallet, QWidget *pa
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
qDebug() << "Platform tag: " << this->getPlatformTag();
|
||||
|
||||
// Ensure the destructor is called after closeEvent()
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
@@ -1518,10 +1520,22 @@ QString MainWindow::getPlatformTag() {
|
||||
return "win";
|
||||
#endif
|
||||
#ifdef Q_OS_LINUX
|
||||
if (!qEnvironmentVariableIsEmpty("APPIMAGE")) {
|
||||
return "linux-appimage";
|
||||
QString tag = "";
|
||||
|
||||
QString arch = QSysInfo::buildCpuArchitecture();
|
||||
if (arch == "arm64") {
|
||||
tag += "linux-arm64";
|
||||
} else if (arch == "arm") {
|
||||
tag += "linux-arm";
|
||||
} else {
|
||||
tag += "linux";
|
||||
}
|
||||
return "linux";
|
||||
|
||||
if (!qEnvironmentVariableIsEmpty("APPIMAGE")) {
|
||||
tag += "-appimage";
|
||||
}
|
||||
|
||||
return tag;
|
||||
#endif
|
||||
return "";
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_MAINWINDOW_H
|
||||
#define FEATHER_MAINWINDOW_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "ReceiveWidget.h"
|
||||
#include "ui_ReceiveWidget.h"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_RECEIVEWIDGET_H
|
||||
#define FEATHER_RECEIVEWIDGET_H
|
||||
|
||||
+17
-3
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "SendWidget.h"
|
||||
#include "ui_SendWidget.h"
|
||||
@@ -11,9 +11,12 @@
|
||||
#include "utils/AppData.h"
|
||||
#include "Icons.h"
|
||||
|
||||
#ifdef WITH_SCANNER
|
||||
#if defined(WITH_SCANNER) && QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
#include "qrcode_scanner/QrCodeScanDialog.h"
|
||||
#include <QtMultimedia/QCameraInfo>
|
||||
#elif defined(WITH_SCANNER)
|
||||
#include "qrcode_scanner_qt6/QrCodeScanDialog.h"
|
||||
#include <QMediaDevices>
|
||||
#endif
|
||||
|
||||
SendWidget::SendWidget(QSharedPointer<AppContext> ctx, QWidget *parent)
|
||||
@@ -112,7 +115,7 @@ void SendWidget::fillAddress(const QString &address) {
|
||||
}
|
||||
|
||||
void SendWidget::scanClicked() {
|
||||
#ifdef WITH_SCANNER
|
||||
#if defined(WITH_SCANNER) && QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
auto cameras = QCameraInfo::availableCameras();
|
||||
if (cameras.count() < 1) {
|
||||
QMessageBox::warning(this, "QR code scanner", "No available cameras found.");
|
||||
@@ -123,6 +126,17 @@ void SendWidget::scanClicked() {
|
||||
dialog->exec();
|
||||
ui->lineAddress->setText(dialog->decodedString);
|
||||
dialog->deleteLater();
|
||||
#elif defined(WITH_SCANNER)
|
||||
auto cameras = QMediaDevices::videoInputs();
|
||||
if (cameras.empty()) {
|
||||
QMessageBox::warning(this, "QR code scanner", "No available cameras found.");
|
||||
return;
|
||||
}
|
||||
|
||||
auto dialog = new QrCodeScanDialog(this);
|
||||
dialog->exec();
|
||||
ui->lineAddress->setText(dialog->decodedString);
|
||||
dialog->deleteLater();
|
||||
#else
|
||||
QMessageBox::warning(this, "QR scanner", "Feather was built without webcam QR scanner support.");
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_SENDWIDGET_H
|
||||
#define FEATHER_SENDWIDGET_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "SettingsDialog.h"
|
||||
#include "ui_SettingsDialog.h"
|
||||
@@ -115,6 +115,12 @@ void Settings::setupPrivacyTab() {
|
||||
m_ctx->updateBalance();
|
||||
});
|
||||
|
||||
// [Hide notifications]
|
||||
ui->checkBox_hideNotifications->setChecked(config()->get(Config::hideNotifications).toBool());
|
||||
connect(ui->checkBox_hideNotifications, &QCheckBox::toggled, [this](bool toggled){
|
||||
config()->set(Config::hideNotifications, toggled);
|
||||
});
|
||||
|
||||
// [Disable websocket]
|
||||
ui->checkBox_enableWebsocket->setChecked(!config()->get(Config::disableWebsocket).toBool());
|
||||
connect(ui->checkBox_enableWebsocket, &QCheckBox::toggled, [this](bool checked){
|
||||
@@ -273,4 +279,4 @@ void Settings::closeEvent(QCloseEvent *event) {
|
||||
event->accept();
|
||||
}
|
||||
|
||||
Settings::~Settings() = default;
|
||||
Settings::~Settings() = default;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_SETTINGS_H
|
||||
#define FEATHER_SETTINGS_H
|
||||
|
||||
@@ -346,6 +346,13 @@
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkBox_hideNotifications">
|
||||
<property name="text">
|
||||
<string>Hide notifications</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkBox_offlineMode">
|
||||
<property name="text">
|
||||
@@ -535,6 +542,11 @@
|
||||
<string>teddit.net</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>reddittorjg6rue252oqsxryoxengawnmo46qy4kyii5wtqnwfj4ooad.onion</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "WindowManager.h"
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_WINDOWMANAGER_H
|
||||
#define FEATHER_WINDOWMANAGER_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "LocalMoneroApi.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_LOCALMONEROAPI_H
|
||||
#define FEATHER_LOCALMONEROAPI_H
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include <QDir>
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_APPCONTEXT_H
|
||||
#define FEATHER_APPCONTEXT_H
|
||||
|
||||
+11
-4
@@ -15,7 +15,10 @@
|
||||
"usexmr2eeexmlwpuvsfe6tyjmdqliplb2b7uxju6yrrziq3n7fksnxyd.onion:18081",
|
||||
"mhfsxznn5pi4xuxohj5k7unqp73sa6d44mbeewbpxnm25z3wzfogcfyd.onion:18081",
|
||||
"7inib34hqn2ocmlaaxjshdavbdn5w5rfdff735lbz33765j2pz3tn4ad.onion:18081",
|
||||
"qz43zul2x56jexzoqgkx2trzwcfnr6l3hbtfcfx54g4r3eahy3bssjyd.onion:18083"
|
||||
"qz43zul2x56jexzoqgkx2trzwcfnr6l3hbtfcfx54g4r3eahy3bssjyd.onion:18089",
|
||||
"plowsof3t5hogddwabaeiyrno25efmzfxyro2vligremt7sxpsclfaid.onion:18089",
|
||||
"plowsoffjexmxalw73tkjmf422gq6575fc7vicuu4javzn2ynnte6tyd.onion:18089",
|
||||
"cakexmrl7bonq7ovjka5kuwuyd3f7qnkz6z6s6dmsy3uckwra7bvggyd.onion:18081"
|
||||
],
|
||||
"clearnet": [
|
||||
"node.community.rino.io:18081",
|
||||
@@ -32,13 +35,16 @@
|
||||
"singapore.node.xmr.pm:18089",
|
||||
"nodes.hashvault.pro:18081",
|
||||
"node.supportxmr.com:18081",
|
||||
"node.xmr.ru:18081"
|
||||
"node.xmr.ru:18081",
|
||||
"node.monerodevs.org:18089",
|
||||
"node2.monerodevs.org:18089"
|
||||
]
|
||||
},
|
||||
"testnet": {
|
||||
"tor": [
|
||||
"rino4tpcrisugb2pt7bhs7cwkrkoigf366aetuzyqkqcakaad7vijiid.onion:28081",
|
||||
"plowsof7q4sexshcqfhoe2ksjalzsaxfblew26zleaq4ty647ly6qyid.onion:28089"
|
||||
"plowsof3t5hogddwabaeiyrno25efmzfxyro2vligremt7sxpsclfaid.onion:28089",
|
||||
"plowsoffjexmxalw73tkjmf422gq6575fc7vicuu4javzn2ynnte6tyd.onion:28089"
|
||||
],
|
||||
"clearnet": [
|
||||
"testnet.community.rino.io:28081",
|
||||
@@ -52,7 +58,8 @@
|
||||
"tor": [
|
||||
"ct36dsbe3oubpbebpxmiqz4uqk6zb6nhmkhoekileo4fts23rvuse2qd.onion:38081",
|
||||
"rino4sek7bzoqgkgsn5qxlsic3gk2mj23t3shcaj5axfyipjnyoql4ad.onion:38081",
|
||||
"plowsof7q4sexshcqfhoe2ksjalzsaxfblew26zleaq4ty647ly6qyid.onion:38089"
|
||||
"plowsof3t5hogddwabaeiyrno25efmzfxyro2vligremt7sxpsclfaid.onion:38089",
|
||||
"plowsoffjexmxalw73tkjmf422gq6575fc7vicuu4javzn2ynnte6tyd.onion:38089"
|
||||
],
|
||||
"clearnet": [
|
||||
"stagenet.community.rino.io:38081",
|
||||
|
||||
-138
@@ -1,138 +0,0 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
|
||||
#include "cli.h"
|
||||
|
||||
// libwalletqt
|
||||
#include "libwalletqt/TransactionHistory.h"
|
||||
#include "libwalletqt/WalletManager.h"
|
||||
#include "model/AddressBookModel.h"
|
||||
#include "model/TransactionHistoryModel.h"
|
||||
#include "utils/brute.h"
|
||||
#include "utils/Utils.h"
|
||||
#include "constants.h"
|
||||
|
||||
CLI::CLI(Mode mode, QCommandLineParser *cmdargs, QObject *parent)
|
||||
: QObject(parent)
|
||||
, m_mode(mode)
|
||||
, m_cmdargs(cmdargs)
|
||||
{
|
||||
m_walletManager = WalletManager::instance();
|
||||
connect(m_walletManager, &WalletManager::walletOpened, this, &CLI::onWalletOpened);
|
||||
|
||||
if (m_mode == Mode::ExportContacts || m_mode == Mode::ExportTxHistory)
|
||||
{
|
||||
if (!cmdargs->isSet("wallet-file")) {
|
||||
this->finished("--wallet-file argument missing");
|
||||
return;
|
||||
}
|
||||
if (!cmdargs->isSet("password")) {
|
||||
this->finished("--password argument missing");
|
||||
return;
|
||||
}
|
||||
|
||||
QString walletFile = cmdargs->value("wallet-file");
|
||||
QString password = cmdargs->value("password");
|
||||
|
||||
|
||||
m_walletManager->openWalletAsync(walletFile, password, constants::networkType, constants::kdfRounds, Utils::ringDatabasePath());
|
||||
}
|
||||
else if (mode == Mode::BruteforcePassword)
|
||||
{
|
||||
QString keys_file = m_cmdargs->value("bruteforce-password");
|
||||
if (!keys_file.endsWith(".keys")) {
|
||||
this->finished("Wallet file does not end with .keys");
|
||||
return;
|
||||
}
|
||||
|
||||
QStringList words;
|
||||
if (m_cmdargs->isSet("bruteforce-dict")) {
|
||||
QString data = Utils::barrayToString(Utils::fileOpen(m_cmdargs->value("bruteforce-dict")));
|
||||
words = data.split("\n");
|
||||
}
|
||||
|
||||
if (!m_cmdargs->isSet("bruteforce-chars")) {
|
||||
this->finished("--bruteforce-chars argument missing");
|
||||
return;
|
||||
}
|
||||
QString chars = m_cmdargs->value("bruteforce-chars");
|
||||
|
||||
brute b(chars.toStdString());
|
||||
if (words.isEmpty()) {
|
||||
qDebug() << "No dictionairy specified, bruteforcing all chars";
|
||||
while (true) {
|
||||
QString pass = QString::fromStdString(b.next());
|
||||
if (m_walletManager->verifyWalletPassword(keys_file, pass, false)) {
|
||||
this->finished(QString("Found password: %1").arg(pass));
|
||||
break;
|
||||
}
|
||||
qDebug() << pass;
|
||||
}
|
||||
}
|
||||
else {
|
||||
bruteword bb(chars.toStdString());
|
||||
bool foundPass = false;
|
||||
for (const auto& word: words) {
|
||||
if (word.isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
bb.setWord(word.toStdString());
|
||||
|
||||
while (true) {
|
||||
QString pass = QString::fromStdString(bb.next());
|
||||
if (pass == "") {
|
||||
break;
|
||||
}
|
||||
if (m_walletManager->verifyWalletPassword(keys_file, pass, false)) {
|
||||
this->finished(QString("Found password: %1").arg(pass));
|
||||
foundPass = true;
|
||||
break;
|
||||
}
|
||||
qDebug() << pass;
|
||||
}
|
||||
if (foundPass) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!foundPass) {
|
||||
this->finished("Search space exhausted");
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
this->finished("Invalid mode");
|
||||
}
|
||||
}
|
||||
|
||||
void CLI::onWalletOpened(Wallet *w) {
|
||||
QScopedPointer<Wallet> wallet{w};
|
||||
|
||||
if (wallet->status() != Wallet::Status_Ok) {
|
||||
this->finished(wallet->errorString());
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_mode == Mode::ExportContacts) {
|
||||
auto *model = wallet->addressBookModel();
|
||||
QString fileName = m_cmdargs->value("export-contacts");
|
||||
if (model->writeCSV(fileName))
|
||||
this->finished(QString("Contacts exported to %1").arg(fileName));
|
||||
else
|
||||
this->finished("Failed to export contacts");
|
||||
}
|
||||
else if (m_mode == Mode::ExportTxHistory) {
|
||||
wallet->history()->refresh(wallet->currentSubaddressAccount());
|
||||
auto *model = wallet->history();
|
||||
QString fileName = m_cmdargs->value("export-txhistory");
|
||||
if (model->writeCSV(fileName))
|
||||
this->finished(QString("Transaction history exported to %1").arg(fileName));
|
||||
else
|
||||
this->finished("Failed to export transaction history");
|
||||
}
|
||||
}
|
||||
|
||||
void CLI::finished(const QString &message) {
|
||||
qInfo() << message;
|
||||
QApplication::quit();
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
|
||||
#ifndef FEATHER_CLI_H
|
||||
#define FEATHER_CLI_H
|
||||
|
||||
#include <QtCore>
|
||||
#include "appcontext.h"
|
||||
|
||||
class CLI : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
enum Mode {
|
||||
Invalid,
|
||||
ExportContacts,
|
||||
ExportTxHistory,
|
||||
BruteforcePassword
|
||||
};
|
||||
|
||||
explicit CLI(Mode mode, QCommandLineParser *cmdargs, QObject *parent = nullptr);
|
||||
|
||||
private slots:
|
||||
void onWalletOpened(Wallet *wallet);
|
||||
|
||||
private:
|
||||
void finished(const QString &message);
|
||||
|
||||
Mode m_mode;
|
||||
QCommandLineParser *m_cmdargs;
|
||||
WalletManager *m_walletManager;
|
||||
};
|
||||
|
||||
#endif //FEATHER_CLI_H
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "components.h"
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_COMPONENTS_H
|
||||
#define FEATHER_COMPONENTS_H
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "constants.h"
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_CONSTANTS_H
|
||||
#define FEATHER_CONSTANTS_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "AboutDialog.h"
|
||||
#include "ui_AboutDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_ABOUT_H
|
||||
#define FEATHER_ABOUT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "AccountSwitcherDialog.h"
|
||||
#include "ui_AccountSwitcherDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_ACCOUNTSWITCHERDIALOG_H
|
||||
#define FEATHER_ACCOUNTSWITCHERDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "BalanceDialog.h"
|
||||
#include "ui_BalanceDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_BALANCEDIALOG_H
|
||||
#define FEATHER_BALANCEDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "CalcConfigDialog.h"
|
||||
#include "ui_CalcConfigDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_CALCCONFIGDIALOG_H
|
||||
#define FEATHER_CALCCONFIGDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "ui_ContactsDialog.h"
|
||||
#include "ContactsDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_CONTACTSDIALOG_H
|
||||
#define FEATHER_CONTACTSDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "DebugInfoDialog.h"
|
||||
#include "ui_DebugInfoDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_DEBUGINFODIALOG_H
|
||||
#define FEATHER_DEBUGINFODIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "InfoDialog.h"
|
||||
#include "ui_InfoDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_INFODIALOG_H
|
||||
#define FEATHER_INFODIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "KeysDialog.h"
|
||||
#include "ui_KeysDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_KEYSDIALOG_H
|
||||
#define FEATHER_KEYSDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "LocalMoneroInfoDialog.h"
|
||||
#include "ui_LocalMoneroInfoDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_LOCALMONEROINFODIALOG_H
|
||||
#define FEATHER_LOCALMONEROINFODIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "OutputInfoDialog.h"
|
||||
#include "ui_OutputInfoDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_OUTPUTINFODIALOG_H
|
||||
#define FEATHER_OUTPUTINFODIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "OutputSweepDialog.h"
|
||||
#include "ui_OutputSweepDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_OUTPUTSWEEPDIALOG_H
|
||||
#define FEATHER_OUTPUTSWEEPDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "PasswordChangeDialog.h"
|
||||
#include "ui_PasswordChangeDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_PASSWORDCHANGEDIALOG_H
|
||||
#define FEATHER_PASSWORDCHANGEDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "PasswordDialog.h"
|
||||
#include "ui_PasswordDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_PASSWORDDIALOG_H
|
||||
#define FEATHER_PASSWORDDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "PaymentRequestDialog.h"
|
||||
#include "ui_PaymentRequestDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_PAYMENTREQUESTDIALOG_H
|
||||
#define FEATHER_PAYMENTREQUESTDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "QrCodeDialog.h"
|
||||
#include "ui_QrCodeDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_QRCODEDIALOG_H
|
||||
#define FEATHER_QRCODEDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "SeedDialog.h"
|
||||
#include "ui_SeedDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_SEEDDIALOG_H
|
||||
#define FEATHER_SEEDDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "SignVerifyDialog.h"
|
||||
#include "ui_SignVerifyDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_SIGNVERIFYDIALOG_H
|
||||
#define FEATHER_SIGNVERIFYDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "SplashDialog.h"
|
||||
#include "ui_SplashDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_SPLASHDIALOG_H
|
||||
#define FEATHER_SPLASHDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "TorInfoDialog.h"
|
||||
#include "ui_TorInfoDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_TORINFODIALOG_H
|
||||
#define FEATHER_TORINFODIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "TxBroadcastDialog.h"
|
||||
#include "ui_TxBroadcastDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_TXBROADCASTDIALOG_H
|
||||
#define FEATHER_TXBROADCASTDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "TxConfAdvDialog.h"
|
||||
#include "ui_TxConfAdvDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_TXCONFADVDIALOG_H
|
||||
#define FEATHER_TXCONFADVDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "TxConfDialog.h"
|
||||
#include "ui_TxConfDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_TXCONFDIALOG_H
|
||||
#define FEATHER_TXCONFDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "TxImportDialog.h"
|
||||
#include "ui_TxImportDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_TXIMPORTDIALOG_H
|
||||
#define FEATHER_TXIMPORTDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "TxInfoDialog.h"
|
||||
#include "ui_TxInfoDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_TXINFODIALOG_H
|
||||
#define FEATHER_TXINFODIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "TxProofDialog.h"
|
||||
#include "ui_TxProofDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_TXPROOFDIALOG_H
|
||||
#define FEATHER_TXPROOFDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "UpdateDialog.h"
|
||||
#include "ui_UpdateDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_UPDATEDIALOG_H
|
||||
#define FEATHER_UPDATEDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "VerifyProofDialog.h"
|
||||
#include "ui_VerifyProofDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_VERIFYPROOFDIALOG_H
|
||||
#define FEATHER_VERIFYPROOFDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "ViewOnlyDialog.h"
|
||||
#include "ui_ViewOnlyDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_VIEWONLYDIALOG_H
|
||||
#define FEATHER_VIEWONLYDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "WalletCacheDebugDialog.h"
|
||||
#include "ui_WalletCacheDebugDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_WALLETCACHEDEBUGDIALOG_H
|
||||
#define FEATHER_WALLETCACHEDEBUGDIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "WalletInfoDialog.h"
|
||||
#include "ui_WalletInfoDialog.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_WALLETINFODIALOG_H
|
||||
#define FEATHER_WALLETINFODIALOG_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2014-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "AddressBook.h"
|
||||
#include <QDebug>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2014-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef ADDRESSBOOK_H
|
||||
#define ADDRESSBOOK_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2014-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "AddressBookInfo.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2014-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_ADDRESSBOOKINFO_H
|
||||
#define FEATHER_ADDRESSBOOKINFO_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "Coins.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#ifndef FEATHER_COINS_H
|
||||
#define FEATHER_COINS_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "CoinsInfo.h"
|
||||
#include "libwalletqt/WalletManager.h"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user