Skip to content

Commit a733dd7

Browse files
committed
Remove unused function reliesOnAssumedValid
1 parent d4a11ab commit a733dd7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/validation.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,6 @@ class Chainstate
561561
*/
562562
const CBlockIndex* SnapshotBase() EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
563563

564-
//! Return true if this chainstate relies on blocks that are assumed-valid. In
565-
//! practice this means it was created based on a UTXO snapshot.
566-
bool reliesOnAssumedValid() { return m_from_snapshot_blockhash.has_value(); }
567-
568564
/**
569565
* The set of all CBlockIndex entries with either BLOCK_VALID_TRANSACTIONS (for
570566
* itself and all ancestors) *or* BLOCK_ASSUMED_VALID (if using background

0 commit comments

Comments
 (0)