Tidy up Serializer:

* Remove getSHA512Half size parameter
* Remove unused Serializer::getSHA256
* Remove Serializer::getRIPEMD160
This commit is contained in:
Vinnie Falco
2015-05-27 13:50:41 -07:00
parent e18c6f63cc
commit 06823349f9
5 changed files with 8 additions and 35 deletions

View File

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