Replace std::vector<unsigned char> with Blob

This commit is contained in:
Vinnie Falco
2013-06-07 15:14:10 -07:00
parent a6fdabc68a
commit b51edb58fc
72 changed files with 352 additions and 334 deletions

View File

@@ -39,7 +39,7 @@ public:
*/
HashedObject (HashedObjectType type,
uint32 ledgerIndex,
std::vector <unsigned char> const& binaryDataToCopy,
Blob const& binaryDataToCopy,
uint256 const& hash)
: mType (type)
, mHash (hash)
@@ -89,7 +89,7 @@ public:
/** Retrieve the binary data.
*/
std::vector <unsigned char> const& getData() const
Blob const& getData() const
{
return mData;
}
@@ -98,7 +98,7 @@ private:
HashedObjectType const mType;
uint256 const mHash;
uint32 const mLedgerIndex;
std::vector <unsigned char> const mData;
Blob const mData;
};
#endif