MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsMissing

Method IsMissing

src/txgraph.cpp:594–594  ·  view source on GitHub ↗

Check if this Locator is missing. */

Source from the content-addressed store, hash-verified

592 void SetPresent(Cluster* c, DepGraphIndex i) noexcept { cluster = c; index = i; }
593 /** Check if this Locator is missing. */
594 bool IsMissing() const noexcept { return cluster == nullptr && index == 0; }
595 /** Check if this Locator is removed. */
596 bool IsRemoved() const noexcept { return cluster == nullptr && index == DepGraphIndex(-1); }
597 /** Check if this Locator is present (in some Cluster). */

Callers 2

FindClusterAndLevelMethod · 0.80
SanityCheckMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected