mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
Rename to NodeObject
This commit is contained in:
@@ -49,7 +49,7 @@ bool InboundLedger::tryLocal ()
|
||||
if (!mHaveBase)
|
||||
{
|
||||
// Nothing we can do without the ledger base
|
||||
HashedObject::pointer node = getApp().getHashedObjectStore ().retrieve (mHash);
|
||||
NodeObject::pointer node = getApp().getHashedObjectStore ().retrieve (mHash);
|
||||
|
||||
if (!node)
|
||||
{
|
||||
|
||||
@@ -1535,7 +1535,7 @@ void PeerImp::recvGetObjectByHash (const boost::shared_ptr<protocol::TMGetObject
|
||||
if (obj.has_hash () && (obj.hash ().size () == (256 / 8)))
|
||||
{
|
||||
memcpy (hash.begin (), obj.hash ().data (), 256 / 8);
|
||||
HashedObject::pointer hObj = getApp().getHashedObjectStore ().retrieve (hash);
|
||||
NodeObject::pointer hObj = getApp().getHashedObjectStore ().retrieve (hash);
|
||||
|
||||
if (hObj)
|
||||
{
|
||||
|
||||
@@ -824,7 +824,7 @@ SHAMapTreeNode::pointer SHAMap::fetchNodeExternalNT (const SHAMapNode& id, uint2
|
||||
if (!getApp().running ())
|
||||
return ret;
|
||||
|
||||
HashedObject::pointer obj (getApp().getHashedObjectStore ().retrieve (hash));
|
||||
NodeObject::pointer obj (getApp().getHashedObjectStore ().retrieve (hash));
|
||||
|
||||
if (!obj)
|
||||
{
|
||||
@@ -913,7 +913,7 @@ int SHAMap::armDirty ()
|
||||
return ++mSeq;
|
||||
}
|
||||
|
||||
int SHAMap::flushDirty (DirtyMap& map, int maxNodes, HashedObjectType t, uint32 seq)
|
||||
int SHAMap::flushDirty (DirtyMap& map, int maxNodes, NodeObjectType t, uint32 seq)
|
||||
{
|
||||
int flushed = 0;
|
||||
Serializer s;
|
||||
|
||||
@@ -141,7 +141,7 @@ public:
|
||||
bool compare (SHAMap::ref otherMap, Delta & differences, int maxCount);
|
||||
|
||||
int armDirty ();
|
||||
static int flushDirty (DirtyMap & dirtyMap, int maxNodes, HashedObjectType t, uint32 seq);
|
||||
static int flushDirty (DirtyMap & dirtyMap, int maxNodes, NodeObjectType t, uint32 seq);
|
||||
boost::shared_ptr<DirtyMap> disarmDirty ();
|
||||
|
||||
void setSeq (uint32 seq)
|
||||
|
||||
Reference in New Issue
Block a user