|
|
|
@ -2598,6 +2598,13 @@ void ProcessMessage(
|
|
|
|
|
if (interruptMsgProc)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
// ignore INVs that don't match wtxidrelay setting
|
|
|
|
|
if (State(pfrom.GetId())->m_wtxid_relay) {
|
|
|
|
|
if (inv.type == MSG_TX) continue;
|
|
|
|
|
} else {
|
|
|
|
|
if (inv.type == MSG_WTX) continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool fAlreadyHave = AlreadyHave(inv, mempool);
|
|
|
|
|
LogPrint(BCLog::NET, "got inv: %s %s peer=%d\n", inv.ToString(), fAlreadyHave ? "have" : "new", pfrom.GetId());
|
|
|
|
|
|
|
|
|
|