Skip to content

Commit

Permalink
Remove unused function reliesOnAssumedValid
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaftuar committed Jul 24, 2023
1 parent d4a11ab commit a733dd7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/validation.h
Expand Up @@ -561,10 +561,6 @@ class Chainstate
*/
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
Expand Down

0 comments on commit a733dd7

Please sign in to comment.