Changeset View
Changeset View
Standalone View
Standalone View
src/net_processing.cpp
Show First 20 Lines • Show All 2,852 Lines • ▼ Show 20 Lines | if (strCommand == NetMsgType::TX) { | ||||
Misbehaving(fromPeer, nDos, | Misbehaving(fromPeer, nDos, | ||||
"invalid-orphan-tx"); | "invalid-orphan-tx"); | ||||
LogPrint(BCLog::MEMPOOL, | LogPrint(BCLog::MEMPOOL, | ||||
" invalid orphan tx %s\n", | " invalid orphan tx %s\n", | ||||
orphanId.ToString()); | orphanId.ToString()); | ||||
} | } | ||||
} | } | ||||
// Has inputs but not accepted to mempool | // Has inputs but not accepted to mempool | ||||
// Probably non-standard or insufficient fee/priority | // Probably non-standard or insufficient fee | ||||
LogPrint(BCLog::MEMPOOL, " removed orphan tx %s\n", | LogPrint(BCLog::MEMPOOL, " removed orphan tx %s\n", | ||||
orphanId.ToString()); | orphanId.ToString()); | ||||
vEraseQueue.push_back(orphanId); | vEraseQueue.push_back(orphanId); | ||||
if (!stateDummy.CorruptionPossible()) { | if (!stateDummy.CorruptionPossible()) { | ||||
// Do not use rejection cache for witness | // Do not use rejection cache for witness | ||||
// transactions or witness-stripped transactions, as | // transactions or witness-stripped transactions, as | ||||
// they can have been malleated. See | // they can have been malleated. See | ||||
// https://github.com/bitcoin/bitcoin/issues/8279 | // https://github.com/bitcoin/bitcoin/issues/8279 | ||||
▲ Show 20 Lines • Show All 1,894 Lines • Show Last 20 Lines |