diff options
| author | Cozz Lovan <[email protected]> | 2014-07-26 21:05:11 +0200 |
|---|---|---|
| committer | Cozz Lovan <[email protected]> | 2014-08-11 18:47:02 +0200 |
| commit | 939ed97373fdea0e8ecb173f1c22eb53b9f90bb6 (patch) | |
| tree | ce3d6651e29d593f422d4d199ba323e4b4ee5c10 /src/keystore.h | |
| parent | Merge pull request #4592 (diff) | |
| download | discoin-939ed97373fdea0e8ecb173f1c22eb53b9f90bb6.tar.xz discoin-939ed97373fdea0e8ecb173f1c22eb53b9f90bb6.zip | |
Add boolean HaveWatchonly and signal NotifyWatchonlyChanged
Diffstat (limited to 'src/keystore.h')
| -rw-r--r-- | src/keystore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keystore.h b/src/keystore.h index 72411a138..f10e24f36 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; |