Some enhancements to this coded needed for the sync code to work.

This commit is contained in:
JoelKatz
2012-01-30 19:04:22 -08:00
parent 2116ce700d
commit 3740498b50
4 changed files with 40 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
#include <boost/foreach.hpp>
#include <boost/lexical_cast.hpp>
SHAMap::SHAMap() : mSeq(0)
SHAMap::SHAMap(uint32 seq) : mSeq(seq)
{
root=SHAMapInnerNode::pointer(new SHAMapInnerNode(SHAMapNode(SHAMapNode::rootDepth, uint256()), mSeq));
mInnerNodeByID[*root]=root;