mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-30 16:05:51 +00:00
Updates.
This commit is contained in:
@@ -306,6 +306,7 @@ protected:
|
|||||||
SHAMapTreeNode* walkToPointer(const uint256& id);
|
SHAMapTreeNode* walkToPointer(const uint256& id);
|
||||||
SHAMapTreeNode::pointer checkCacheNode(const SHAMapNode&);
|
SHAMapTreeNode::pointer checkCacheNode(const SHAMapNode&);
|
||||||
void returnNode(SHAMapTreeNode::pointer&, bool modify);
|
void returnNode(SHAMapTreeNode::pointer&, bool modify);
|
||||||
|
void trackNewNode(SHAMapTreeNode::pointer&);
|
||||||
|
|
||||||
SHAMapTreeNode::pointer getNode(const SHAMapNode& id);
|
SHAMapTreeNode::pointer getNode(const SHAMapNode& id);
|
||||||
SHAMapTreeNode::pointer getNode(const SHAMapNode& id, const uint256& hash, bool modify);
|
SHAMapTreeNode::pointer getNode(const SHAMapNode& id, const uint256& hash, bool modify);
|
||||||
@@ -322,7 +323,7 @@ protected:
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
// build new map
|
// build new map
|
||||||
SHAMap(SHAMapType t, uint32 seq = 0);
|
SHAMap(SHAMapType t, uint32 seq = 1);
|
||||||
SHAMap(SHAMapType t, const uint256& hash);
|
SHAMap(SHAMapType t, const uint256& hash);
|
||||||
|
|
||||||
~SHAMap() { mState = smsInvalid; }
|
~SHAMap() { mState = smsInvalid; }
|
||||||
|
|||||||
Reference in New Issue
Block a user