MCPcopy Create free account
hub / github.com/ElementsProject/elements / reliesOnAssumedValid

Method reliesOnAssumedValid

src/validation.h:550–550  ·  view source on GitHub ↗

Return true if this chainstate relies on blocks that are assumed-valid. In practice this means it was created based on a UTXO snapshot.

Source from the content-addressed store, hash-verified

548 //! Return true if this chainstate relies on blocks that are assumed-valid. In
549 //! practice this means it was created based on a UTXO snapshot.
550 bool reliesOnAssumedValid() { return m_from_snapshot_blockhash.has_value(); }
551
552 /**
553 * The set of all CBlockIndex entries with either BLOCK_VALID_TRANSACTIONS (for

Callers 1

LoadBlockIndexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected