Browse Source

hush.is is the only Official Hush domain

pull/2/head
Duke Leto 3 years ago
parent
commit
46c748d06f
  1. 2
      README.md
  2. 10
      src/mainwindow.cpp
  3. 6
      src/settings.cpp
  4. 2
      src/websockets.cpp

2
README.md

@ -24,7 +24,7 @@ SilentDragonLite is a lightwallet for HUSH ($HUSH) which runs on Linux and Windo
SilentDragonLite contacts a few different external websites to get various bits of data.
* coingecko.com for price data API
* explorer.myhush.org for explorer links
* explorer.hush.is for explorer links
* dexstats.info for address utilities
* hush-lightwallet.de to get Data

10
src/mainwindow.cpp

@ -779,7 +779,7 @@ void MainWindow::setupStatusBar() {
});
menu.addAction(tr("Copy block explorer link"), [=]() {
// auto explorer = Settings::getInstance()->getExplorer();
QGuiApplication::clipboard()->setText("https://explorer.myhush.org/tx/" + txid);
QGuiApplication::clipboard()->setText("https://explorer.hush.is/tx/" + txid);
});
menu.addAction(tr("View tx on block explorer"), [=]() {
@ -851,7 +851,7 @@ void MainWindow::setupSettingsModal() {
settings.chkFetchPrices->setChecked(Settings::getInstance()->getAllowFetchPrices());
// List of default servers
settings.cmbServer->addItem("https://lite.myhush.org");
settings.cmbServer->addItem("https://lite.hush.is");
settings.cmbServer->addItem("6onaaujm4ozaokzu.onion:80");
@ -906,12 +906,12 @@ void MainWindow::addressBook() {
}
void MainWindow::discord() {
QString url = "https://myhush.org/discord/";
QString url = "https://hush.is/discord/";
QDesktopServices::openUrl(QUrl(url));
}
void MainWindow::website() {
QString url = "https://myhush.org";
QString url = "https://hush.is";
QDesktopServices::openUrl(QUrl(url));
}
@ -1382,7 +1382,7 @@ void MainWindow::setupTransactionsTab() {
}
menu.addAction(tr("Copy block explorer link"), [=]() {
// auto explorer = Settings::getInstance()->getExplorer();
QGuiApplication::clipboard()->setText("https://explorer.myhush.org/tx/" + txid);
QGuiApplication::clipboard()->setText("https://explorer.hush.is/tx/" + txid);
});
menu.addAction(tr("View on block explorer"), [=] () {

6
src/settings.cpp

@ -262,7 +262,7 @@ void Settings::saveRestoreTableHeader(QTableView* table, QDialog* d, QString tab
}
QString Settings::getDefaultServer() {
return "https://lite.myhush.org";
return "https://lite.hush.is";
}
void Settings::openAddressInExplorer(QString address) {
@ -270,7 +270,7 @@ void Settings::openAddressInExplorer(QString address) {
if (Settings::getInstance()->isTestnet()) {
url = "https://chain.so/address/hushTEST/" + address;
} else {
url = "https://explorer.myhush.org/address/" + address;
url = "https://explorer.hush.is/address/" + address;
}
QDesktopServices::openUrl(QUrl(url));
}
@ -281,7 +281,7 @@ void Settings::openTxInExplorer(QString txid) {
url = "https://chain.so/tx/hushTEST/" + txid;
}
else {
url = "https://explorer.myhush.org/tx/" + txid;
url = "https://explorer.hush.is/tx/" + txid;
}
QDesktopServices::openUrl(QUrl(url));
}

2
src/websockets.cpp

@ -126,7 +126,7 @@ void WormholeClient::connect() {
qDebug() << "Invalid websocket object!";
}
m_webSocket->open(QUrl("wss://wormhole.myhush.org:443"));
m_webSocket->open(QUrl("wss://wormhole.hush.is:443"));
//m_webSocket->open(QUrl("ws://127.0.0.1:7070"));
}

Loading…
Cancel
Save