diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2011-07-05 16:42:32 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2011-07-17 12:07:59 +0200 |
commit | 03fbd7904903928b0d1c8542a3d597aaf5bdd31b (patch) | |
tree | 562344a9b651ea1b2cc3f7ffd348377e5bed6090 /src/script.h | |
parent | 133ccbe4087514501dec1f7496c62489437f0db8 (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.h | 3 |
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); |