mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 02:25:53 +00:00
Fix tabs and trailing whitespace.
This commit is contained in:
@@ -1384,7 +1384,7 @@ private:
|
||||
{
|
||||
mOurPosition->bowOut();
|
||||
propose();
|
||||
}
|
||||
}
|
||||
mProposing = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ bool SHAMap::compare (SHAMap::ref otherMap, Delta& differences, int maxCount)
|
||||
else if (ourNode->isLeaf () && otherNode->isInner ())
|
||||
{
|
||||
if (!otherMap->walkBranch (otherNode, ourNode->peekItem (),
|
||||
false, differences, maxCount))
|
||||
false, differences, maxCount))
|
||||
return false;
|
||||
}
|
||||
else if (ourNode->isInner () && otherNode->isInner ())
|
||||
@@ -233,20 +233,20 @@ void SHAMap::walkMap (std::vector<SHAMapMissingNode>& missingNodes, int maxMissi
|
||||
{
|
||||
if (!node->isEmptyBranch (i))
|
||||
{
|
||||
SHAMapTreeNode::pointer nextNode = descendNoStore (node, i);
|
||||
SHAMapTreeNode::pointer nextNode = descendNoStore (node, i);
|
||||
|
||||
if (nextNode)
|
||||
{
|
||||
if (nextNode->isInner ())
|
||||
nodeStack.push (std::move (nextNode));
|
||||
}
|
||||
else
|
||||
{
|
||||
missingNodes.emplace_back (mType, node->getChildHash (i));
|
||||
if (--maxMissing <= 0)
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (nextNode)
|
||||
{
|
||||
if (nextNode->isInner ())
|
||||
nodeStack.push (std::move (nextNode));
|
||||
}
|
||||
else
|
||||
{
|
||||
missingNodes.emplace_back (mType, node->getChildHash (i));
|
||||
if (--maxMissing <= 0)
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1284,8 +1284,8 @@ PeerImp::on_message (std::shared_ptr <protocol::TMTransaction> const& m)
|
||||
// For now, be paranoid and have each validator
|
||||
// check each transaction, regardless of source
|
||||
flags |= SF_SIGGOOD;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (getApp().getJobQueue().getJobCount(jtTRANSACTION) > 100)
|
||||
journal_.info << "Transaction queue is full";
|
||||
|
||||
Reference in New Issue
Block a user