mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
doc: net_proc: reference past DoS vulnerability in orphan processing
This commit is contained in:
@@ -3072,6 +3072,8 @@ void PeerManagerImpl::ProcessPackageResult(const node::PackageToValidate& packag
|
||||
}
|
||||
}
|
||||
|
||||
// NOTE: the orphan processing used to be uninterruptible and quadratic, which could allow a peer to stall the node for
|
||||
// hours with specially crafted transactions. See https://bitcoincore.org/en/2024/07/03/disclose-orphan-dos.
|
||||
bool PeerManagerImpl::ProcessOrphanTx(Peer& peer)
|
||||
{
|
||||
AssertLockHeld(g_msgproc_mutex);
|
||||
|
||||
Reference in New Issue
Block a user