mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Tidy up Serializer:
* Remove getSHA512Half size parameter * Remove unused Serializer::getSHA256 * Remove Serializer::getRIPEMD160
This commit is contained in:
@@ -166,10 +166,8 @@ public:
|
||||
return addFieldID (static_cast<int> (type), name);
|
||||
}
|
||||
|
||||
// normal hash functions
|
||||
uint160 getRIPEMD160 (int size = -1) const;
|
||||
uint256 getSHA256 (int size = -1) const;
|
||||
uint256 getSHA512Half (int size = -1) const;
|
||||
// DEPRECATED
|
||||
uint256 getSHA512Half() const;
|
||||
|
||||
// prefix hash functions
|
||||
static uint256 getPrefixHash (std::uint32_t prefix, const unsigned char* data, int len);
|
||||
|
||||
Reference in New Issue
Block a user