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