From a733dd79e29068ad1e0532ac42a45188a040a7b9 Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Fri, 21 Jul 2023 10:27:12 -0400 Subject: [PATCH] Remove unused function `reliesOnAssumedValid` --- src/validation.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/validation.h b/src/validation.h index b983876c663..d7ad86a5e85 100644 --- a/src/validation.h +++ b/src/validation.h @@ -561,10 +561,6 @@ public: */ const CBlockIndex* SnapshotBase() EXCLUSIVE_LOCKS_REQUIRED(::cs_main); - //! Return true if this chainstate relies on blocks that are assumed-valid. In - //! practice this means it was created based on a UTXO snapshot. - bool reliesOnAssumedValid() { return m_from_snapshot_blockhash.has_value(); } - /** * The set of all CBlockIndex entries with either BLOCK_VALID_TRANSACTIONS (for * itself and all ancestors) *or* BLOCK_ASSUMED_VALID (if using background