Remove unused function reliesOnAssumedValid
This commit is contained in:
1 parent
d4a11abb19
commit
a733dd79e2
1 file changed
-4
@@ -561,10 +561,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
const CBlockIndex* SnapshotBase() EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
|
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
|
* The set of all CBlockIndex entries with either BLOCK_VALID_TRANSACTIONS (for
|
||||||
* itself and all ancestors) *or* BLOCK_ASSUMED_VALID (if using background
|
* itself and all ancestors) *or* BLOCK_ASSUMED_VALID (if using background
|
||||||
|
|||||||
Reference in new issue
Block a user