Second check if fetch pack should be skipped.

This commit is contained in:
JoelKatz
2013-05-17 01:02:01 -07:00
parent 4d0f02a46a
commit 5e1dddd1c7
3 changed files with 15 additions and 2 deletions

View File

@@ -285,6 +285,12 @@ bool LoadFeeTrack::raiseLocalFee()
return true;
}
bool LoadFeeTrack::isLoaded()
{
boost::mutex::scoped_lock sl(mLock);
return (raiseCount != 0) || (mLocalTxnLoadFee != lftNormalFee);
}
bool LoadFeeTrack::lowerLocalFee()
{
boost::mutex::scoped_lock sl(mLock);