Browse Source

Merge branch 'dev'

master v1.3.0
Duke Leto 3 years ago
parent
commit
7f3041dd09
  1. 22
      README.md
  2. 29
      doc/relnotes/README.md
  3. 9
      src/connection.cpp

22
README.md

@ -1,12 +1,6 @@
# SilentDragon # SilentDragon
<p align="left"> <p align="left">
<a href="https://twitter.com/MyHushTeam">
<img src="https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Ftwitter.com%2Fmyhushteam"
alt="MyHushTeam's Twitter"></a>
<a href="https://twitter.com/intent/follow?screen_name=MyHushTeam">
<img src="https://img.shields.io/twitter/follow/MyHushTeam?style=social&logo=twitter"
alt="follow on Twitter"></a>
<a href="https://fosstodon.org/@myhushteam"> <a href="https://fosstodon.org/@myhushteam">
<img src="https://img.shields.io/badge/Mastodon-MyHushTeam-blue" <img src="https://img.shields.io/badge/Mastodon-MyHushTeam-blue"
alt="follow on Mastodon"></a> alt="follow on Mastodon"></a>
@ -16,7 +10,9 @@
</p> </p>
SilentDragon desktop wallet for HUSH runs on Linux, Windows and macOS. SilentDragon desktop wallet for HUSH runs on Linux, Windows and macOS.
This is experimental software under active development! This is experimental software under active development! Get real-time
support on [our Telegram support group](https://hush.is/tg_support) and
feel free to join the [main Telegram group](https://hush.is/tg) as well.
![Screenshots](images/sd-receive-tab.png?raw=true) ![Screenshots](images/sd-receive-tab.png?raw=true)
@ -33,13 +29,16 @@ The following are screenshots for each SilentDragon tab:
SilentDragon contacts a few different external websites to get various SilentDragon contacts a few different external websites to get various
bits of data. bits of data.
* coingecko.com for price data API * coingecko.com for price data API (defaults to on, optional)
* explorer.hush.is for explorer links * explorer.hush.is for explorer links (optional)
* dexstats.info for address utilities * dexstats.info for address utilities
* wormhole.hush.is for Wormhole services * Address Asset Viewer menu action (optional)
* Convert Address menu action (optional)
* wormhole.hush.is for Wormhole services (optional)
This means your IP address is known to these servers. Enable Tor setting This means your IP address is known to these servers. Enable Tor setting
in SilentDragon to prevent this, or better yet, use TAILS: https://tails.boum.org/ in SilentDragon to prevent this, or better yet, use TAILS: https://tails.boum.org/
NOTE: Tor v3 is not yet supported.
# Installation # Installation
@ -56,6 +55,9 @@ Additionally, if this is the first time you're running SilentDragon or a hushd d
Pass `--no-embedded` to disable the embedded hushd and force SilentDragon to connect to an external node. Pass `--no-embedded` to disable the embedded hushd and force SilentDragon to connect to an external node.
If SD crashes when autostarting hushd, you may have run out of memory. This could happen with very large wallets. Try closing unnecessary applications and/or browser tabs and retry.
Another method is to start hushd first, then start SD, which will connect to the existing hushd.
## Compiling from source ## Compiling from source
SilentDragon is written in C++ 14, and can be compiled with g++/clang++/visual SilentDragon is written in C++ 14, and can be compiled with g++/clang++/visual

29
doc/relnotes/README.md

@ -16,17 +16,18 @@ evil organizations.
60 files changed, 4328 insertions(+), 1568 deletions(-) 60 files changed, 4328 insertions(+), 1568 deletions(-)
``` ```
* This release of SD is only compatible with hushd 3.9.0 or later, which is a mandatory update * :tada: New Polish translation ( @onryo )
* Older Hush full nodes will not be compatible with the Hush network going forward * This release of SD is only compatible with hushd 3.9.0 or later, which is a mandatory update
* New shinier startup animation ( https://t.me/DanS\_MGDesign ) * Older Hush full nodes will not be compatible with the Hush network going forward
* SD now looks for Hush full node data in `~/.hush/HUSH3` but still supports the legacy location * New shinier startup animation by Dan S ( https://twitter.com/Dan\_MGDesign )
* New Polish translation ( @onryo ) * When right-clicking on a zaddr, there are now two new menu options
* When right-clicking on a zaddr, there are now two new menu options * Shield all mining funds to this zaddr (z_shieldcoinbase)
* Shield all mining funds to this zaddr (z_shieldcoinbase) * Use this if you are a solo miner who mined full blocks to a taddr
* Use this if you are a solo miner who mined full blocks to a taddr * Only 50 blocks will be shielded at a time. If you have more, run this multiple times.
* Only 50 blocks will be shielded at a time. If you have more, run this multiple times. * Shield all non-mining taddr funds to this zaddr (z_mergetoaddress)
* Shield all non-mining taddr funds to this zaddr (z_mergetoaddress) * Use this if you have an old wallet with funds in taddrs
* Use this if you have an old wallet with funds in taddrs * Only 50 utxos (transactions) will be shielded at a time. If you have more, run this multiple times.
* Only 50 utxos (transactions) will be shielded at a time. If you have more, run this multiple times. * SD now looks for Hush full node data in `~/.hush/HUSH3` but still supports the legacy location
* The About screen now reports the version of QT5 being used * The About screen now reports the version of QT5 being used
* In the case of an exception, the default currency will be set to BTC instead of USD * In the case of an exception, the default currency will be set to BTC instead of USD
* SD includes its version number in autogenerated HUSH3.conf config files

9
src/connection.cpp

@ -7,6 +7,7 @@
#include "ui_createzcashconfdialog.h" #include "ui_createzcashconfdialog.h"
#include "rpc.h" #include "rpc.h"
#include "precompiled.h" #include "precompiled.h"
#include "version.h"
ConnectionLoader::ConnectionLoader(MainWindow* main, RPC* rpc) { ConnectionLoader::ConnectionLoader(MainWindow* main, RPC* rpc) {
this->main = main; this->main = main;
@ -200,7 +201,7 @@ void ConnectionLoader::createHushConf() {
QTextStream out(&file); QTextStream out(&file);
out << "# Autogenerated by Hush SilentDragon https://hush.is\n"; out << "# Autogenerated by Hush SilentDragon " << APP_VERSION << " https://hush.is\n";
out << "server=1\n"; out << "server=1\n";
out << "rpcuser=hush\n"; out << "rpcuser=hush\n";
out << "rpcpassword=" % randomPassword() << "\n"; out << "rpcpassword=" % randomPassword() << "\n";
@ -358,6 +359,7 @@ bool ConnectionLoader::startEmbeddedHushd() {
main->logger->write("Can't find hushd at " + hushdProgram); main->logger->write("Can't find hushd at " + hushdProgram);
return false; return false;
} else { } else {
qDebug() << "Found hushd at " << hushdProgram;
main->logger->write("Found hushd at " + hushdProgram); main->logger->write("Found hushd at " + hushdProgram);
} }
@ -372,7 +374,8 @@ bool ConnectionLoader::startEmbeddedHushd() {
}); });
QObject::connect(ehushd.get(), &QProcess::errorOccurred, [&] (QProcess::ProcessError error) { QObject::connect(ehushd.get(), &QProcess::errorOccurred, [&] (QProcess::ProcessError error) {
qDebug() << "Couldn't start hushd at " << hushdProgram << ":" << error; qDebug() << "Couldn't start hushd!";
qDebug() << "hushd at " << hushdProgram << ":" << error;
}); });
std::weak_ptr<QProcess> weak_obj(ehushd); std::weak_ptr<QProcess> weak_obj(ehushd);
@ -385,7 +388,7 @@ bool ConnectionLoader::startEmbeddedHushd() {
// This string should be the exact arg list seperated by single spaces // This string should be the exact arg list seperated by single spaces
// Could be modified to start different Hush Smart Chains // Could be modified to start different Hush Smart Chains
QString params = ""; // "-ac_name=TUSH"; QString params = "-tls=only -clientname=GoldenSandtrout"; // "-ac_name=TUSH";
/* This is now enabled by default in hushd /* This is now enabled by default in hushd
// Binaries come with this file // Binaries come with this file

Loading…
Cancel
Save