mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-28 06:25:49 +00:00
.
This commit is contained in:
@@ -32,4 +32,17 @@ uint256 Transaction::calcHash(TransactionPtr trans)
|
||||
buffer.resize(trans->ByteSize());
|
||||
trans->SerializeToArray(&(buffer[0]),buffer.size());
|
||||
return Hash(buffer.begin(), buffer.end());
|
||||
}
|
||||
|
||||
uint256 Transaction::protobufToInternalHash(const std::string& hash)
|
||||
{
|
||||
uint256 ret;
|
||||
// TODO:
|
||||
return(ret);
|
||||
}
|
||||
|
||||
bool Transaction::isSigValid(TransactionPtr trans)
|
||||
{
|
||||
// TODO:
|
||||
return(true);
|
||||
}
|
||||
Reference in New Issue
Block a user