@ -450,7 +450,7 @@ void MainWindow::setupSettingsModal() {
// Setup clear button
QObject : : connect ( settings . btnClearSaved , & QCheckBox : : clicked , [ = ] ( ) {
if ( QMessageBox : : warning ( this , " Clear saved history? " ,
" Shielded z-Address transactions are stored locally in your wallet, outside zca shd. You may delete this saved information safely any time for your privacy. \n Do you want to delete the saved shielded transactions now? " ,
" Shielded z-Address transactions are stored locally in your wallet, outside hu shd. You may delete this saved information safely any time for your privacy. \n Do you want to delete the saved shielded transactions now? " ,
QMessageBox : : Yes , QMessageBox : : Cancel ) ) {
SentTxStore : : deleteHistory ( ) ;
// Reload after the clear button so existing txs disappear
@ -476,7 +476,7 @@ void MainWindow::setupSettingsModal() {
if ( rpc - > getEZcashD ( ) = = nullptr ) {
settings . chkTor - > setEnabled ( false ) ;
settings . lblTor - > setEnabled ( false ) ;
QString tooltip = tr ( " Tor configuration is available only when running an embedded zca shd. " ) ;
QString tooltip = tr ( " Tor configuration is available only when running an embedded hu shd. " ) ;
settings . chkTor - > setToolTip ( tooltip ) ;
settings . lblTor - > setToolTip ( tooltip ) ;
}
@ -485,7 +485,7 @@ void MainWindow::setupSettingsModal() {
QIntValidator validator ( 0 , 65535 ) ;
settings . port - > setValidator ( & validator ) ;
// If values are coming from zcash .conf, then disable all the fields
// If values are coming from HUSH3 .conf, then disable all the fields
auto zcashConfLocation = Settings : : getInstance ( ) - > getZcashdConfLocation ( ) ;
if ( ! zcashConfLocation . isEmpty ( ) ) {
settings . confMsg - > setText ( " Settings are being read from \n " + zcashConfLocation ) ;
@ -493,9 +493,8 @@ void MainWindow::setupSettingsModal() {
settings . port - > setEnabled ( false ) ;
settings . rpcuser - > setEnabled ( false ) ;
settings . rpcpassword - > setEnabled ( false ) ;
}
else {
settings . confMsg - > setText ( " No local zcash.conf found. Please configure connection manually. " ) ;
} else {
settings . confMsg - > setText ( " No local HUSH3.conf found. Please configure connection manually. " ) ;
settings . hostname - > setEnabled ( true ) ;
settings . port - > setEnabled ( true ) ;
settings . rpcuser - > setEnabled ( true ) ;
@ -512,13 +511,13 @@ void MainWindow::setupSettingsModal() {
// Connection tab by default
settings . tabWidget - > setCurrentIndex ( 0 ) ;
// Enable the troubleshooting options only if using embedded zca shd
// Enable the troubleshooting options only if using embedded hu shd
if ( ! rpc - > isEmbedded ( ) ) {
settings . chkRescan - > setEnabled ( false ) ;
settings . chkRescan - > setToolTip ( tr ( " You're using an external zcashd. Please restart zca shd with -rescan " ) ) ;
settings . chkRescan - > setToolTip ( tr ( " You're using an external hushd. Please restart hu shd with -rescan " ) ) ;
settings . chkReindex - > setEnabled ( false ) ;
settings . chkReindex - > setToolTip ( tr ( " You're using an external zcashd. Please restart zca shd with -reindex " ) ) ;
settings . chkReindex - > setToolTip ( tr ( " You're using an external hushd. Please restart hu shd with -reindex " ) ) ;
}
if ( settingsDialog . exec ( ) = = QDialog : : Accepted ) {
@ -887,7 +886,7 @@ void MainWindow::importPrivKey() {
*/
void MainWindow : : exportTransactions ( ) {
// First, get the export file name
QString exportName = " zca sh-transactions-" + QDateTime : : currentDateTime ( ) . toString ( " yyyyMMdd " ) + " .csv " ;
QString exportName = " hu sh-transactions-" + QDateTime : : currentDateTime ( ) . toString ( " yyyyMMdd " ) + " .csv " ;
QUrl csvName = QFileDialog : : getSaveFileUrl ( this ,
tr ( " Export transactions " ) , exportName , " CSV file (*.csv) " ) ;
@ -903,14 +902,14 @@ void MainWindow::exportTransactions() {
/**
* Backup the wallet . dat file . This is kind of a hack , since it has to read from the filesystem rather than an RPC call
* This might fail for various reasons - Remote zca shd, non - standard locations , custom params passed to zca shd, many others
* This might fail for various reasons - Remote hu shd, non - standard locations , custom params passed to hu shd, many others
*/
void MainWindow : : backupWalletDat ( ) {
if ( ! rpc - > getConnection ( ) )
return ;
QDir zcashdir ( rpc - > getConnection ( ) - > config - > zcashDir ) ;
QString backupDefaultName = " zca sh-wallet-backup-" + QDateTime : : currentDateTime ( ) . toString ( " yyyyMMdd " ) + " .dat " ;
QString backupDefaultName = " hu sh-wallet-backup-" + QDateTime : : currentDateTime ( ) . toString ( " yyyyMMdd " ) + " .dat " ;
if ( Settings : : getInstance ( ) - > isTestnet ( ) ) {
zcashdir . cd ( " testnet3 " ) ;
@ -920,7 +919,7 @@ void MainWindow::backupWalletDat() {
QFile wallet ( zcashdir . filePath ( " wallet.dat " ) ) ;
if ( ! wallet . exists ( ) ) {
QMessageBox : : critical ( this , tr ( " No wallet.dat " ) , tr ( " Couldn't find the wallet.dat on this computer " ) + " \n " +
tr ( " You need to back it up from the machine zca shd is running on " ) , QMessageBox : : Ok ) ;
tr ( " You need to back it up from the machine hu shd is running on " ) , QMessageBox : : Ok ) ;
return ;
}