mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Split up InfoSub and tidy up various files
This commit is contained in:
16
src/cpp/ripple/ripple_SHAMapItem.cpp
Normal file
16
src/cpp/ripple/ripple_SHAMapItem.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
class SHAMap;
|
||||
|
||||
DECLARE_INSTANCE(SHAMapItem);
|
||||
|
||||
SHAMapItem::SHAMapItem (uint256 const& tag, Blob const& data)
|
||||
: mTag (tag)
|
||||
, mData (data)
|
||||
{
|
||||
}
|
||||
|
||||
SHAMapItem::SHAMapItem(uint256 const& tag, const Serializer& data)
|
||||
: mTag (tag)
|
||||
, mData (data.peekData())
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user