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

Method MinimizeStepEnd

src/cluster_linearize.h:542–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540 inline void MinimizeStepBegin() noexcept {}
541 inline void MinimizeStepMid(int num_txns) noexcept { m_cost += 11 * num_txns + 11; }
542 inline void MinimizeStepEnd(bool split) noexcept { m_cost += 17 * split + 7; }
543
544 inline uint64_t GetCost() const noexcept { return m_cost; }
545};

Callers 1

MinimizeStepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected