diff options
| author | jtimon <[email protected]> | 2014-08-27 17:22:33 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-09-08 20:21:35 +0200 |
| commit | e088d65acbb181220b64a45a2a62bb79c0e40304 (patch) | |
| tree | 1017c1bfb9599c9dfa3d6d8327d8b65862ee0d74 /src/scriptutils.h | |
| parent | Separate CScriptCompressor (diff) | |
| download | discoin-e088d65acbb181220b64a45a2a62bb79c0e40304.tar.xz discoin-e088d65acbb181220b64a45a2a62bb79c0e40304.zip | |
Separate script/sign
Diffstat (limited to 'src/scriptutils.h')
| -rw-r--r-- | src/scriptutils.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/scriptutils.h b/src/scriptutils.h index 1c7408124..98080fc45 100644 --- a/src/scriptutils.h +++ b/src/scriptutils.h @@ -8,17 +8,8 @@ #include "key.h" #include "script/script.h" -#include "script/interpreter.h" -#include "script/standard.h" - -#include <stdexcept> -#include <stdint.h> -#include <string> -#include <vector> class CKeyStore; -class CTransaction; -struct CMutableTransaction; /** IsMine() return codes */ enum isminetype @@ -34,11 +25,5 @@ typedef uint8_t isminefilter; isminetype IsMine(const CKeyStore& keystore, const CScript& scriptPubKey); isminetype IsMine(const CKeyStore& keystore, const CTxDestination& dest); void ExtractAffectedKeys(const CKeyStore &keystore, const CScript& scriptPubKey, std::vector<CKeyID> &vKeys); -bool SignSignature(const CKeyStore& keystore, const CScript& fromPubKey, CMutableTransaction& txTo, unsigned int nIn, int nHashType=SIGHASH_ALL); -bool SignSignature(const CKeyStore& keystore, const CTransaction& txFrom, CMutableTransaction& txTo, unsigned int nIn, int nHashType=SIGHASH_ALL); - -// Given two sets of signatures for scriptPubKey, possibly with OP_0 placeholders, -// combine them intelligently and return the result. -CScript CombineSignatures(CScript scriptPubKey, const CTransaction& txTo, unsigned int nIn, const CScript& scriptSig1, const CScript& scriptSig2); #endif // H_BITCOIN_SCRIPT |