Comments.

This commit is contained in:
JoelKatz
2011-12-16 20:19:19 -08:00
parent 9214b44be9
commit ad8dcaa473

View File

@@ -2,6 +2,14 @@
#include <stack>
// This code is used to compare another node's transaction tree
// to our own. It returns a map containing all items that are different
// between two SHA maps. It is optimized not to descend down tree
// branches with the same branch hash. A limit can be passed so
// that we will abort early if a node sends a map to us that
// makes no sense at all. (And our sync algorithm will avoid
// synchronizing matching brances too.)
class SHAMapDiffNode
{
public: