Changes for v0.2.1
This commit is contained in:
@@ -9,8 +9,8 @@ Head over to the releases page and grab the latest binary. https://github.com/ad
|
|||||||
### Linux
|
### Linux
|
||||||
Extract and run the binary
|
Extract and run the binary
|
||||||
```
|
```
|
||||||
tar -xvf zcash-qt-wallet-v0.2.0.tar.gz
|
tar -xvf zcash-qt-wallet-v0.2.1.tar.gz
|
||||||
./zcash-qt-wallet-v0.2.0/zcash-qt-wallet
|
./zcash-qt-wallet-v0.2.1/zcash-qt-wallet
|
||||||
```
|
```
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|||||||
@@ -398,11 +398,11 @@ void RPC::refreshReceivedZTrans(QList<QString> zaddrs, QList<QPair<QString, QStr
|
|||||||
// First, find if the current txid is in the filtered list
|
// First, find if the current txid is in the filtered list
|
||||||
auto filteredTxid = std::find_if(txidFilter.begin(), txidFilter.end(), [=] (auto item) {
|
auto filteredTxid = std::find_if(txidFilter.begin(), txidFilter.end(), [=] (auto item) {
|
||||||
return item.second == txid;
|
return item.second == txid;
|
||||||
});
|
});
|
||||||
|
|
||||||
// If it is in the filtered list and the z-Addr is the fromAddress in the sent
|
// If it is in the filtered list and the z-Addr is the fromAddress in the sent
|
||||||
// z-Addr, then this is a "change" recieve, so skip it
|
// z-Addr, then this is a "change" recieve, so skip it
|
||||||
if (filteredTxid != txidFilter.end() && filteredTxid->first != zaddr) {
|
if (filteredTxid == txidFilter.end() || filteredTxid->first != zaddr) {
|
||||||
auto txidInfo = txidDetails->value(txid);
|
auto txidInfo = txidDetails->value(txid);
|
||||||
// Lookup txid in the map
|
// Lookup txid in the map
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ echo "[OK]"
|
|||||||
|
|
||||||
|
|
||||||
echo -n "Configuring..."
|
echo -n "Configuring..."
|
||||||
rm -f "bin/linux-zcash-qt-wallet*"
|
rm -f bin/linux-zcash-qt-wallet*
|
||||||
make distclean > /dev/null
|
make distclean > /dev/null
|
||||||
$QT_STATIC/bin/qmake zcash-qt-wallet.pro -spec linux-clang CONFIG+=release > /dev/null
|
$QT_STATIC/bin/qmake zcash-qt-wallet.pro -spec linux-clang CONFIG+=release > /dev/null
|
||||||
echo "[OK]"
|
echo "[OK]"
|
||||||
|
|||||||
@@ -54,6 +54,11 @@ void SentTxStore::addToSentTx(Tx tx, QString txid) {
|
|||||||
if (!Settings::getInstance()->getSaveZtxs())
|
if (!Settings::getInstance()->getSaveZtxs())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Also, only store outgoing Txs where the from address is a z-Addr. Else, regular zcashd
|
||||||
|
// stores it just fine
|
||||||
|
if (!tx.fromAddr.startsWith("z"))
|
||||||
|
return;
|
||||||
|
|
||||||
QFile data(writeableFile());
|
QFile data(writeableFile());
|
||||||
QJsonDocument jsonDoc;
|
QJsonDocument jsonDoc;
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ PRECOMPILED_HEADER = src/precompiled.h
|
|||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
TARGET = zcash-qt-wallet
|
TARGET = zcash-qt-wallet
|
||||||
APP_VERSION=\\\"0.2.0\\\"
|
APP_VERSION=\\\"0.2.1\\\"
|
||||||
|
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|||||||
Reference in New Issue
Block a user