aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2015-06-10 01:04:08 -0700
committerMatt Corallo <git@bluematt.me>2015-07-20 16:01:37 -0700
commitf5813bdd3eb93a2a8d7ba01989eef5b299fcbca4 (patch)
tree7830024c8e7ab4a638ee534b5bab1b190010c2ee /src/qt/walletmodel.h
parentd3354c52d7c0c6446cad4074c1d0e04bb1b3d84e (diff)
downloadbitcoin-f5813bdd3eb93a2a8d7ba01989eef5b299fcbca4.tar.xz
Add logic to track pubkeys as watch-only, not just scripts
Diffstat (limited to 'src/qt/walletmodel.h')
-rw-r--r--src/qt/walletmodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h
index 40bc623543..1c1684b278 100644
--- a/src/qt/walletmodel.h
+++ b/src/qt/walletmodel.h
@@ -186,6 +186,7 @@ public:
UnlockContext requestUnlock();
bool getPubKey(const CKeyID &address, CPubKey& vchPubKeyOut) const;
+ bool havePrivKey(const CKeyID &address) const;
void getOutputs(const std::vector<COutPoint>& vOutpoints, std::vector<COutput>& vOutputs);
bool isSpent(const COutPoint& outpoint) const;
void listCoins(std::map<QString, std::vector<COutput> >& mapCoins) const;