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

Method SetPresent

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

Mark this Locator as present, in the specified Cluster. */

Source from the content-addressed store, hash-verified

590 void SetRemoved() noexcept { cluster = nullptr; index = DepGraphIndex(-1); }
591 /** Mark this Locator as present, in the specified Cluster. */
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. */

Callers 2

UpdatedMethod · 0.80
MergeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected