Skip to content

Commit 68ac954

Browse files
committed
doc: net_proc: reference past DoS vulnerability in orphan processing
1 parent c02d9f6 commit 68ac954

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/net_processing.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3072,6 +3072,8 @@ void PeerManagerImpl::ProcessPackageResult(const node::PackageToValidate& packag
30723072
}
30733073
}
30743074

3075+
// NOTE: the orphan processing used to be uninterruptible and quadratic, which could allow a peer to stall the node for
3076+
// hours with specially crafted transactions. See https://bitcoincore.org/en/2024/07/03/disclose-orphan-dos.
30753077
bool PeerManagerImpl::ProcessOrphanTx(Peer& peer)
30763078
{
30773079
AssertLockHeld(g_msgproc_mutex);

0 commit comments

Comments
 (0)