Remove unused function reliesOnAssumedValid

This commit is contained in:
Suhas Daftuar committed 2023-07-24 16:27:04 -04:00
1 parent d4a11abb19
commit a733dd79e2
1 file changed
-4
-4
View File
@@ -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