Complete the SHAMapSync code. Next step is to finish the testing harness.

This commit is contained in:
JoelKatz
2012-01-31 20:07:55 -08:00
parent bac03c31de
commit 443eef3a9b
3 changed files with 108 additions and 2 deletions

View File

@@ -55,6 +55,16 @@ bool SHAMapNode::operator!=(const SHAMapNode &s) const
return (s.mDepth!=mDepth) || (s.mNodeID!=mNodeID);
}
bool SHAMapNode::operator==(const uint256 &s) const
{
return s==mNodeID;
}
bool SHAMapNode::operator!=(const uint256 &s) const
{
return s!=mNodeID;
}
void SHAMapNode::ClassInit()
{ // set up the depth masks
uint256 selector;