From b6c9553359ce597d37c0d1b242b55348e5009849 Mon Sep 17 00:00:00 2001 From: lateminer Date: Thu, 1 Feb 2018 21:52:33 +0300 Subject: [PATCH 1/2] Do not exclude stake from balances in listaddressgroupings RPC --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index c7a8a79c7..e1b546dc5 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3235,7 +3235,7 @@ std::map CWallet::GetAddressBalances() if (!CheckFinalTx(*pcoin) || !pcoin->IsTrusted()) continue; - if ((pcoin->IsCoinBase() || pcoin->IsCoinStake()) && pcoin->GetBlocksToMaturity() > 0) + if (pcoin->IsCoinBase() && pcoin->GetBlocksToMaturity() > 0) continue; int nDepth = pcoin->GetDepthInMainChain(); From 42c53543c2778ab6f79c5959badfe13af2dbd3c4 Mon Sep 17 00:00:00 2001 From: lateminer Date: Thu, 1 Feb 2018 21:59:11 +0300 Subject: [PATCH 2/2] Leave "The Bitcoin Core Developers" alone --- src/qt/locale/bitcoin_en.ts | 2 +- src/qt/locale/bitcoin_en_GB.ts | 2 +- src/qt/locale/bitcoin_pl.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qt/locale/bitcoin_en.ts b/src/qt/locale/bitcoin_en.ts index baa56e237..22c4917a2 100644 --- a/src/qt/locale/bitcoin_en.ts +++ b/src/qt/locale/bitcoin_en.ts @@ -4311,7 +4311,7 @@ Copyright (C) 2009-%i The Bitcoin Core Developers - Copyright (C) 2014-%i The Blackcoin Lore Developers + Copyright (C) 2009-%i The Bitcoin Core Developers diff --git a/src/qt/locale/bitcoin_en_GB.ts b/src/qt/locale/bitcoin_en_GB.ts index 1602d4d43..58b1a5ac7 100644 --- a/src/qt/locale/bitcoin_en_GB.ts +++ b/src/qt/locale/bitcoin_en_GB.ts @@ -3317,7 +3317,7 @@ Copyright (C) 2009-%i The Bitcoin Core Developers - Copyright (C) 2014-%i The Blackcoin Lore Developers + Copyright (C) 2009-%i The Bitcoin Core Developers Error loading wallet.dat: Wallet requires newer version of Bitcoin Core diff --git a/src/qt/locale/bitcoin_pl.ts b/src/qt/locale/bitcoin_pl.ts index aea4db633..f2676610b 100644 --- a/src/qt/locale/bitcoin_pl.ts +++ b/src/qt/locale/bitcoin_pl.ts @@ -3213,7 +3213,7 @@ Copyright (C) 2009-%i The Bitcoin Core Developers - Copyright (C) 20014-%i The Blackcoin Lore Developers + Copyright (C) 2009-%i The Bitcoin Core Developers Error loading wallet.dat: Wallet requires newer version of Bitcoin Core