From 968dfef194590d8d4e0ce9f5113965f82da43ce7 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 13 Nov 2021 11:16:37 -0500 Subject: [PATCH 1/7] Show version of SD that generates a config file --- src/connection.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/connection.cpp b/src/connection.cpp index b51895f..7d953d2 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -7,6 +7,7 @@ #include "ui_createzcashconfdialog.h" #include "rpc.h" #include "precompiled.h" +#include "version.h" ConnectionLoader::ConnectionLoader(MainWindow* main, RPC* rpc) { this->main = main; @@ -200,7 +201,7 @@ void ConnectionLoader::createHushConf() { 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 << "rpcuser=hush\n"; out << "rpcpassword=" % randomPassword() << "\n"; From fcee06a5c3ee50b3972655905f01dd7039542c91 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 13 Nov 2021 13:34:48 -0500 Subject: [PATCH 2/7] Fix autostart of hushd Since hushd is no longer a script but a real binary, our code to autostart hushd no longer has any arguments. But QT gets angry with an empty list of arguments, because it splits arguments into an array on space characters. So this bug ended up tring to start hush via ./hushd "" instead of ./hushd, which creates an "Ooops" error from hushd, which thinks you are trying to use hush-cli. Now we provide two arguments, with default values, that allows the rest of the code to work correctly. --- src/connection.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/connection.cpp b/src/connection.cpp index 7d953d2..701b491 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -359,6 +359,7 @@ bool ConnectionLoader::startEmbeddedHushd() { main->logger->write("Can't find hushd at " + hushdProgram); return false; } else { + qDebug() << "Found hushd at " << hushdProgram; main->logger->write("Found hushd at " + hushdProgram); } @@ -373,7 +374,8 @@ bool ConnectionLoader::startEmbeddedHushd() { }); 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 weak_obj(ehushd); @@ -386,7 +388,7 @@ bool ConnectionLoader::startEmbeddedHushd() { // This string should be the exact arg list seperated by single spaces // 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 // Binaries come with this file From 2d7974da60c12f72c56e919121e26863cd254f0a Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 13 Nov 2021 15:02:59 -0500 Subject: [PATCH 3/7] Update our readme with some gems; delete twitter badge --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 3f0ec4b..76d6506 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,6 @@ # SilentDragon

- - MyHushTeam's Twitter - - follow on Twitter follow on Mastodon @@ -16,7 +10,9 @@

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) @@ -33,13 +29,16 @@ The following are screenshots for each SilentDragon tab: SilentDragon contacts a few different external websites to get various bits of data. - * coingecko.com for price data API - * explorer.hush.is for explorer links + * coingecko.com for price data API (defaults to on, optional) + * explorer.hush.is for explorer links (optional) * 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 in SilentDragon to prevent this, or better yet, use TAILS: https://tails.boum.org/ +NOTE: Tor v3 is not yet supported. # 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. +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 SilentDragon is written in C++ 14, and can be compiled with g++/clang++/visual From 3cfc398682c173b693e64e802f37db185de71624 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 13 Nov 2021 15:29:20 -0500 Subject: [PATCH 4/7] update --- doc/relnotes/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/relnotes/README.md b/doc/relnotes/README.md index 2561291..42c3e86 100644 --- a/doc/relnotes/README.md +++ b/doc/relnotes/README.md @@ -18,7 +18,7 @@ evil organizations. * This release of SD is only compatible with hushd 3.9.0 or later, which is a mandatory update * Older Hush full nodes will not be compatible with the Hush network going forward - * New shinier startup animation ( https://t.me/DanS\_MGDesign ) + * New shinier startup animation by Dan S ( https://twitter.com/Dan\_MGDesign ) * SD now looks for Hush full node data in `~/.hush/HUSH3` but still supports the legacy location * New Polish translation ( @onryo ) * When right-clicking on a zaddr, there are now two new menu options From 4e7da355f596191406345553afc40a04b39459e3 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 13 Nov 2021 15:31:08 -0500 Subject: [PATCH 5/7] relnotes formatting --- doc/relnotes/README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/relnotes/README.md b/doc/relnotes/README.md index 42c3e86..763dd79 100644 --- a/doc/relnotes/README.md +++ b/doc/relnotes/README.md @@ -16,17 +16,17 @@ evil organizations. 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 - * Older Hush full nodes will not be compatible with the Hush network going forward - * New shinier startup animation by Dan S ( https://twitter.com/Dan\_MGDesign ) - * SD now looks for Hush full node data in `~/.hush/HUSH3` but still supports the legacy location - * New Polish translation ( @onryo ) - * When right-clicking on a zaddr, there are now two new menu options - * Shield all mining funds to this zaddr (z_shieldcoinbase) - * 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. - * Shield all non-mining taddr funds to this zaddr (z_mergetoaddress) - * 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. - * 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 + * This release of SD is only compatible with hushd 3.9.0 or later, which is a mandatory update + * Older Hush full nodes will not be compatible with the Hush network going forward + * New shinier startup animation by Dan S ( https://twitter.com/Dan\_MGDesign ) + * SD now looks for Hush full node data in `~/.hush/HUSH3` but still supports the legacy location + * New Polish translation ( @onryo ) + * When right-clicking on a zaddr, there are now two new menu options + * Shield all mining funds to this zaddr (z_shieldcoinbase) + * 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. + * Shield all non-mining taddr funds to this zaddr (z_mergetoaddress) + * 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. + * 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 From 66955b6457606982763270554829da459e11a664 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 13 Nov 2021 15:34:57 -0500 Subject: [PATCH 6/7] Update relnotes --- doc/relnotes/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/relnotes/README.md b/doc/relnotes/README.md index 763dd79..9ecc9bc 100644 --- a/doc/relnotes/README.md +++ b/doc/relnotes/README.md @@ -30,3 +30,4 @@ evil organizations. * Only 50 utxos (transactions) will be shielded at a time. If you have more, run this multiple times. * 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 + * SD includes its version number in autogenerated HUSH3.conf config files From c3ba68cabd4a7eff8b3951b735d4c98210c87377 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 13 Nov 2021 15:37:01 -0500 Subject: [PATCH 7/7] reorder relnotes --- doc/relnotes/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/relnotes/README.md b/doc/relnotes/README.md index 9ecc9bc..bb76980 100644 --- a/doc/relnotes/README.md +++ b/doc/relnotes/README.md @@ -16,11 +16,10 @@ evil organizations. 60 files changed, 4328 insertions(+), 1568 deletions(-) ``` + * :tada: New Polish translation ( @onryo ) * This release of SD is only compatible with hushd 3.9.0 or later, which is a mandatory update - * Older Hush full nodes will not be compatible with the Hush network going forward + * Older Hush full nodes will not be compatible with the Hush network going forward * New shinier startup animation by Dan S ( https://twitter.com/Dan\_MGDesign ) - * SD now looks for Hush full node data in `~/.hush/HUSH3` but still supports the legacy location - * New Polish translation ( @onryo ) * When right-clicking on a zaddr, there are now two new menu options * Shield all mining funds to this zaddr (z_shieldcoinbase) * Use this if you are a solo miner who mined full blocks to a taddr @@ -28,6 +27,7 @@ evil organizations. * Shield all non-mining taddr funds to this zaddr (z_mergetoaddress) * 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. + * 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 * 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