defeather files

pull/38/head
wowario 3 years ago
parent 144c19fab1
commit 11048f96fa
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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");

@ -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());

@ -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 <QObject>
@ -71,4 +71,4 @@ private:
void sendAll(const QString &cmd, const QString &val);
};
#endif //FEATHER_WSSERVER_H
#endif //WOWLET_WSSERVER_H

Loading…
Cancel
Save