Handle a few odd cases, including the case where a peer proposes a ledger

that is internally inconsistent.
This commit is contained in:
JoelKatz
2012-05-26 20:04:40 -07:00
parent ef516698f2
commit d9e5b7e109
4 changed files with 28 additions and 8 deletions

View File

@@ -434,3 +434,9 @@ bool NetworkOPs::hasTXSet(boost::shared_ptr<Peer> peer, const std::vector<uint25
if (!mConsensus) return false;
return mConsensus->peerHasSet(peer, sets);
}
void NetworkOPs::mapComplete(const uint256& hash, SHAMap::pointer map)
{
if (mConsensus)
mConsensus->mapComplete(hash, map);
}