aboutsummaryrefslogtreecommitdiff
path: root/src/keystore.h
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2014-07-26 21:05:11 +0200
committerCozz Lovan <cozzlovan@yahoo.com>2014-08-11 18:47:02 +0200
commit939ed97373fdea0e8ecb173f1c22eb53b9f90bb6 (patch)
treece3d6651e29d593f422d4d199ba323e4b4ee5c10 /src/keystore.h
parent8b11d3de7aa4fc3f6c4e7bf292495850034ded2c (diff)
downloadbitcoin-939ed97373fdea0e8ecb173f1c22eb53b9f90bb6.tar.xz
Add boolean HaveWatchonly and signal NotifyWatchonlyChanged
Diffstat (limited to 'src/keystore.h')
-rw-r--r--src/keystore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keystore.h b/src/keystore.h
index 72411a1387..f10e24f36c 100644
--- a/src/keystore.h
+++ b/src/keystore.h
@@ -50,6 +50,7 @@ public:
// Support for Watch-only addresses
virtual bool AddWatchOnly(const CScript &dest) =0;
virtual bool HaveWatchOnly(const CScript &dest) const =0;
+ virtual bool HaveWatchOnly() const =0;
};
typedef std::map<CKeyID, CKey> KeyMap;
@@ -107,6 +108,7 @@ public:
virtual bool AddWatchOnly(const CScript &dest);
virtual bool HaveWatchOnly(const CScript &dest) const;
+ virtual bool HaveWatchOnly() const;
};
typedef std::vector<unsigned char, secure_allocator<unsigned char> > CKeyingMaterial;