X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fscript.h;h=3d4096457a684193576dead9b71b3b60d7926506;hb=5e9ed1b72385ffbb451d0dcaf1d2e40e79288472;hp=e61ea2fd7eb7280f750dd7b75da46ba20f40a0cf;hpb=dbfa51628178a6f1064f28d8a5aa8e12d45d7ac9;p=novacoin.git diff --git a/src/script.h b/src/script.h index e61ea2f..3d40964 100644 --- a/src/script.h +++ b/src/script.h @@ -13,6 +13,8 @@ #include +typedef std::vector valtype; + class CTransaction; enum @@ -699,5 +701,7 @@ bool IsMine(const CKeyStore& keystore, const CScript& scriptPubKey); bool ExtractAddress(const CScript& scriptPubKey, const CKeyStore* pkeystore, CBitcoinAddress& addressRet); 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); +bool Solver(const CScript& scriptPubKey, std::vector >& vSolutionRet); + #endif