mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 11:13:23 -03:00
Remove unused function reliesOnAssumedValid
This commit is contained in:
parent
d4a11abb19
commit
a733dd79e2
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue