mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
Remove unused function reliesOnAssumedValid
This commit is contained in:
@ -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