Structures for self-descriptive directory nodes.

This commit is contained in:
JoelKatz
2012-11-30 00:12:25 -08:00
parent e8abe71ea8
commit 1d3a17b59d
3 changed files with 15 additions and 2 deletions

View File

@@ -262,7 +262,7 @@ public:
// Directories are doubly linked lists of nodes.
// Given a directory root and and index compute the index of a node.
static uint256 getDirNodeIndex(const uint256& uDirRoot, const uint64 uNodeIndex=0);
static uint256 getDirNodeIndex(const uint256& uDirRoot, const uint64 uNodeIndex = 0);
// Return a node: root or normal
SLE::pointer getDirNode(LedgerStateParms& parms, const uint256& uNodeIndex);
@@ -271,7 +271,7 @@ public:
// Quality
//
static uint256 getQualityIndex(const uint256& uBase, const uint64 uNodeDir=0);
static uint256 getQualityIndex(const uint256& uBase, const uint64 uNodeDir = 0);
static uint256 getQualityNext(const uint256& uBase);
static uint64 getQuality(const uint256& uBase);