aboutsummaryrefslogtreecommitdiff
path: root/src/txorphanage.h
diff options
context:
space:
mode:
authordergoegge <n.goeggi@gmail.com>2023-12-08 13:14:46 +0000
committerdergoegge <n.goeggi@gmail.com>2023-12-08 13:14:46 +0000
commit15f5a0d0c8ce6b306cdeba6a4777334b848a76aa (patch)
tree7d536562fe217da051c5ec1b250feded0d74485c /src/txorphanage.h
parentdce1dfbc47050404bcf3ce2461e8baff0b088ffb (diff)
downloadbitcoin-15f5a0d0c8ce6b306cdeba6a4777334b848a76aa.tar.xz
fuzz: Improve fuzzing stability for txorphan harness
Diffstat (limited to 'src/txorphanage.h')
-rw-r--r--src/txorphanage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txorphanage.h b/src/txorphanage.h
index 2196ed4c85..2fd14e6fd2 100644
--- a/src/txorphanage.h
+++ b/src/txorphanage.h
@@ -43,7 +43,7 @@ public:
void EraseForBlock(const CBlock& block) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex);
/** Limit the orphanage to the given maximum */
- void LimitOrphans(unsigned int max_orphans) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex);
+ void LimitOrphans(unsigned int max_orphans, FastRandomContext& rng) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex);
/** Add any orphans that list a particular tx as a parent into the from peer's work set */
void AddChildrenToWorkSet(const CTransaction& tx) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex);;