Emergency patch to fix ledger not closing.

Do not timeout on acquiring a transaction set if a trusted peer
still proposes it. Instead, fetch more aggressively.
This commit is contained in:
JoelKatz
2013-04-05 09:41:43 -07:00
parent f37737edd3
commit 7131564eb1
5 changed files with 40 additions and 5 deletions

View File

@@ -996,6 +996,13 @@ bool NetworkOPs::hasTXSet(const boost::shared_ptr<Peer>& peer, const uint256& se
return mConsensus->peerHasSet(peer, set, status);
}
bool NetworkOPs::stillNeedTXSet(const uint256& hash)
{
if (!mConsensus)
return false;
return mConsensus->stillNeedTXSet(hash);
}
void NetworkOPs::mapComplete(const uint256& hash, SHAMap::ref map)
{
if (haveConsensusObject())