aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2011-07-05 16:42:32 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2011-07-17 12:07:59 +0200
commit03fbd7904903928b0d1c8542a3d597aaf5bdd31b (patch)
tree562344a9b651ea1b2cc3f7ffd348377e5bed6090 /src/script.h
parent133ccbe4087514501dec1f7496c62489437f0db8 (diff)
get rid of mapPubKeys
Make CKeyStore's interface work on uint160's instead of pubkeys, so no separate global mapPubKeys is necessary anymore.
Diffstat (limited to 'src/script.h')
-rw-r--r--src/script.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/script.h b/src/script.h
index 2a36db2faf..be950f3006 100644
--- a/src/script.h
+++ b/src/script.h
@@ -710,8 +710,7 @@ public:
bool IsStandard(const CScript& scriptPubKey);
bool IsMine(const CKeyStore& keystore, const CScript& scriptPubKey);
-bool ExtractPubKey(const CScript& scriptPubKey, const CKeyStore* pkeystore, std::vector<unsigned char>& vchPubKeyRet);
-bool ExtractHash160(const CScript& scriptPubKey, uint160& hash160Ret);
+bool ExtractHash160(const CScript& scriptPubKey, const CKeyStore* pkeystore, uint160& hash160Ret);
bool SignSignature(const CKeyStore& keystore, const CTransaction& txFrom, CTransaction& txTo, unsigned int nIn, int nHashType=SIGHASH_ALL, CScript scriptPrereq=CScript());
bool VerifySignature(const CTransaction& txFrom, const CTransaction& txTo, unsigned int nIn, int nHashType=0);