aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@chaincode.com>2023-07-21 10:27:12 -0400
committerSuhas Daftuar <sdaftuar@chaincode.com>2023-07-24 16:27:04 -0400
commita733dd79e29068ad1e0532ac42a45188a040a7b9 (patch)
tree3af276d60a817324afca9cec0858029fa4eb3d5e /src/validation.h
parentd4a11abb1972b54f0babdccfbb2fde97ab885933 (diff)
Remove unused function `reliesOnAssumedValid`
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/validation.h b/src/validation.h
index b983876c66..d7ad86a5e8 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