Browse Source

Changes for v0.2.1

import_zecw
Aditya Kulkarni 6 years ago
parent
commit
6117026cc7
  1. 4
      README.md
  2. 4
      src/rpc.cpp
  3. 2
      src/scripts/mkrelease.sh
  4. 5
      src/senttxstore.cpp
  5. 2
      zcash-qt-wallet.pro

4
README.md

@ -9,8 +9,8 @@ Head over to the releases page and grab the latest binary. https://github.com/ad
### Linux
Extract and run the binary
```
tar -xvf zcash-qt-wallet-v0.2.0.tar.gz
./zcash-qt-wallet-v0.2.0/zcash-qt-wallet
tar -xvf zcash-qt-wallet-v0.2.1.tar.gz
./zcash-qt-wallet-v0.2.1/zcash-qt-wallet
```
### Windows

4
src/rpc.cpp

@ -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
auto filteredTxid = std::find_if(txidFilter.begin(), txidFilter.end(), [=] (auto item) {
return item.second == txid;
});
});
// 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
if (filteredTxid != txidFilter.end() && filteredTxid->first != zaddr) {
if (filteredTxid == txidFilter.end() || filteredTxid->first != zaddr) {
auto txidInfo = txidDetails->value(txid);
// Lookup txid in the map

2
src/scripts/mkrelease.sh

@ -14,7 +14,7 @@ echo "[OK]"
echo -n "Configuring..."
rm -f "bin/linux-zcash-qt-wallet*"
rm -f bin/linux-zcash-qt-wallet*
make distclean > /dev/null
$QT_STATIC/bin/qmake zcash-qt-wallet.pro -spec linux-clang CONFIG+=release > /dev/null
echo "[OK]"

5
src/senttxstore.cpp

@ -54,6 +54,11 @@ void SentTxStore::addToSentTx(Tx tx, QString txid) {
if (!Settings::getInstance()->getSaveZtxs())
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());
QJsonDocument jsonDoc;

2
zcash-qt-wallet.pro

@ -13,7 +13,7 @@ PRECOMPILED_HEADER = src/precompiled.h
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = zcash-qt-wallet
APP_VERSION=\\\"0.2.0\\\"
APP_VERSION=\\\"0.2.1\\\"
TEMPLATE = app

Loading…
Cancel
Save