Blackcoin Lore

This commit is contained in:
janko33bd
2017-05-30 21:33:31 +02:00
parent 597c9b42e5
commit 2fdd12b2ea
141 changed files with 4385 additions and 3872 deletions

View File

@@ -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);