aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorwhythat <whythat@protonmail.com>2018-10-06 00:24:06 +0300
committerwhythat <whythat@protonmail.com>2018-10-13 19:30:13 +0300
commit93d1aa9abc4402715f781db2bc26bdde4447e951 (patch)
tree30a929c15431a127d60b0603b9b4909849db70b3 /src/wallet/wallet.h
parentf504a1402afd0760e9d348ecc8bad0094aa7d705 (diff)
rpcwallet: add 'ischange' field to 'getaddressinfo' response
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index da326517c0..64740fd82e 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -961,6 +961,7 @@ public:
isminetype IsMine(const CTxOut& txout) const;
CAmount GetCredit(const CTxOut& txout, const isminefilter& filter) const;
bool IsChange(const CTxOut& txout) const;
+ bool IsChange(const CScript& script) const;
CAmount GetChange(const CTxOut& txout) const;
bool IsMine(const CTransaction& tx) const;
/** should probably be renamed to IsRelevantToMe */