From 11048f96fa14f2105a7167fafe081b767426d177 Mon Sep 17 00:00:00 2001 From: wowario Date: Sun, 4 Apr 2021 14:05:20 +0300 Subject: [PATCH] defeather files --- src/main.cpp | 2 +- src/utils/wsserver.cpp | 4 ++-- src/utils/wsserver.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index fd8e65b..76f3d45 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -78,7 +78,7 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) { QCommandLineOption exportTxHistoryOption(QStringList() << "export-txhistory", "Output wallet transaction history as CSV to specified path.", "file"); parser.addOption(exportTxHistoryOption); - QCommandLineOption backgroundOption(QStringList() << "daemon", "Start Feather in the background and start a websocket server (IPv4:port)", "backgroundAddress"); + QCommandLineOption backgroundOption(QStringList() << "daemon", "Start WOWlet in the background and start a websocket server (IPv4:port)", "backgroundAddress"); parser.addOption(backgroundOption); QCommandLineOption backgroundPasswordOption(QStringList() << "daemon-password", "Password for connecting to the wowlet websocket service", "backgroundPassword"); diff --git a/src/utils/wsserver.cpp b/src/utils/wsserver.cpp index afe1522..32b6d70 100644 --- a/src/utils/wsserver.cpp +++ b/src/utils/wsserver.cpp @@ -33,7 +33,7 @@ WSServer::WSServer(AppContext *ctx, const QHostAddress &host, const quint16 port m_ctx(ctx), m_password(password), m_pWebSocketServer( - new QWebSocketServer(QStringLiteral("Feather Daemon WS"), + new QWebSocketServer(QStringLiteral("WOWlet Daemon WS"), QWebSocketServer::NonSecureMode, this)) { if (!m_pWebSocketServer->listen(QHostAddress::Any, port)) return; @@ -201,7 +201,7 @@ void WSServer::processBinaryMessage(QByteArray buffer) { } } - FeatherSeed seed = FeatherSeed(m_ctx->restoreHeights[m_ctx->networkType], m_ctx->coinName, m_ctx->seedLanguage); + WowletSeed seed = WowletSeed(m_ctx->restoreHeights[m_ctx->networkType], m_ctx->coinName, m_ctx->seedLanguage); m_ctx->createWallet(seed, walletPath, password); } else if(cmd == "transactionHistory") { m_ctx->currentWallet->history()->refresh(m_ctx->currentWallet->currentSubaddressAccount()); diff --git a/src/utils/wsserver.h b/src/utils/wsserver.h index fd5beb4..0a9ad68 100644 --- a/src/utils/wsserver.h +++ b/src/utils/wsserver.h @@ -1,8 +1,8 @@ // SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2020-2021, The Monero Project. -#ifndef FEATHER_WSSERVER_H -#define FEATHER_WSSERVER_H +#ifndef WOWLET_WSSERVER_H +#define WOWLET_WSSERVER_H #include @@ -71,4 +71,4 @@ private: void sendAll(const QString &cmd, const QString &val); }; -#endif //FEATHER_WSSERVER_H +#endif //WOWLET_WSSERVER_H