For now, don't relay proposals when not in full mode.

This commit is contained in:
JoelKatz
2012-06-18 20:24:38 -07:00
parent a1523fcb06
commit 95bdb24bd9

View File

@@ -474,8 +474,8 @@ bool NetworkOPs::recvPropose(uint32 proposeSeq, const uint256& proposeHash,
if (mMode != omFULL) // FIXME: Should we relay?
{
Log(lsWARNING) << "Received proposal when not full: " << mMode;
return true;
Log(lsINFO) << "Received proposal when not full: " << mMode;
return false; // FIXME: Need suppression table
}
if (!mConsensus)
{