Blackcoin Lore
This commit is contained in:
@@ -171,6 +171,11 @@ public:
|
||||
return size() == 33;
|
||||
}
|
||||
|
||||
std::vector<unsigned char> getvch() const
|
||||
{
|
||||
return std::vector<unsigned char>(begin(), end());
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify a DER signature (~72 bytes).
|
||||
* If this public key is not fully valid, the return value will be false.
|
||||
@@ -182,6 +187,8 @@ public:
|
||||
*/
|
||||
static bool CheckLowS(const std::vector<unsigned char>& vchSig);
|
||||
|
||||
static bool CheckSignatureElement(const unsigned char *vch, int len, bool half);
|
||||
|
||||
//! Recover a public key from a compact signature.
|
||||
bool RecoverCompact(const uint256& hash, const std::vector<unsigned char>& vchSig);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user