return ret;
}
-bool CPubKey::VerifyCompact(const uint256 &hash, const std::vector<unsigned char>& vchSig)
-{
- CPubKey key;
- if (!key.SetCompactSignature(hash, vchSig))
- return false;
- return true;
-}
-
bool CKey::IsValid()
{
if (!fSet)
}
bool Verify(const uint256& hash, const std::vector<unsigned char>& vchSig) const;
- bool VerifyCompact(const uint256 &hash, const std::vector<unsigned char>& vchSig);
bool SetCompactSignature(const uint256 &hash, const std::vector<unsigned char>& vchSig);