Test fix to stop nodes forceing an attacking chain onto others.
This commit is contained in:
@@ -293,6 +293,9 @@ public:
|
||||
bool fNetworkNode;
|
||||
bool fSuccessfullyConnected;
|
||||
bool fDisconnect;
|
||||
// count blocks seen.
|
||||
int8_t nBlocksinARow;
|
||||
int8_t nBlocksinARow2;
|
||||
// We use fRelayTxes for two purposes -
|
||||
// a) it allows us to not relay tx invs before receiving the peer's version message
|
||||
// b) the peer may tell us in its version message that we should not relay tx invs
|
||||
|
||||
Reference in New Issue
Block a user