Fix tabs and trailing whitespace.

This commit is contained in:
Tom Ritchford
2014-10-14 16:58:47 -04:00
parent 7eaca149c1
commit 5425a90f16
86 changed files with 200 additions and 200 deletions

View File

@@ -1384,7 +1384,7 @@ private:
{ {
mOurPosition->bowOut(); mOurPosition->bowOut();
propose(); propose();
} }
mProposing = false; mProposing = false;
} }
} }

View File

@@ -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;
} }
} }
} }
} }
} }

View File

@@ -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";