mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Comments.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user