aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-06-06 09:53:01 +0200
committerAndrew Chow <achow101-github@achow101.com>2019-07-03 19:43:02 -0400
commit1b699a5083b435c2b79f3951f94ac9f967d24f6c (patch)
tree3147f82544a1cbd3dbb645be255cebba788b140a /src/script/sign.h
parent1381ddbcfcb6429b1327fd3db91ef97d8603aef9 (diff)
Add HaveKey and HaveCScript to SigningProvider
Diffstat (limited to 'src/script/sign.h')
-rw-r--r--src/script/sign.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/sign.h b/src/script/sign.h
index e5c0329a61..9df4dc98fa 100644
--- a/src/script/sign.h
+++ b/src/script/sign.h
@@ -51,8 +51,10 @@ class SigningProvider
public:
virtual ~SigningProvider() {}
virtual bool GetCScript(const CScriptID &scriptid, CScript& script) const { return false; }
+ virtual bool HaveCScript(const CScriptID &scriptid) const { return false; }
virtual bool GetPubKey(const CKeyID &address, CPubKey& pubkey) const { return false; }
virtual bool GetKey(const CKeyID &address, CKey& key) const { return false; }
+ virtual bool HaveKey(const CKeyID &address) const { return false; }
virtual bool GetKeyOrigin(const CKeyID& keyid, KeyOriginInfo& info) const { return false; }
};