mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
doc: net_proc: reference past DoS vulnerability in orphan processing
This commit is contained in:
parent
c02d9f6dd5
commit
68ac9542c4
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue