mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cleanups.
This commit is contained in:
@@ -192,6 +192,13 @@ uint256 Serializer::getSHA512Half(const std::vector<unsigned char>& data, int si
|
||||
return j[0];
|
||||
}
|
||||
|
||||
uint256 Serializer::getSHA512Half(const unsigned char *data, int len)
|
||||
{
|
||||
uint256 j[2];
|
||||
SHA512(data, len, (unsigned char *) j);
|
||||
return j[0];
|
||||
}
|
||||
|
||||
bool Serializer::checkSignature(int pubkeyOffset, int signatureOffset) const
|
||||
{
|
||||
std::vector<unsigned char> pubkey, signature;
|
||||
|
||||
Reference in New Issue
Block a user