mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 19:23:41 +02:00
clusterlin: rescale costs (preparation)
This commit is contained in:
committed by
Pieter Wuille
parent
ecc9a84f85
commit
4eefdfc5b7
@@ -486,9 +486,9 @@ public:
|
||||
inline void StartOptimizingBegin() noexcept {}
|
||||
inline void StartOptimizingEnd(int num_chunks) noexcept {}
|
||||
inline void ActivateBegin() noexcept {}
|
||||
inline void ActivateEnd(int num_deps) noexcept { m_cost += num_deps + 1; }
|
||||
inline void ActivateEnd(int num_deps) noexcept { m_cost += 38 * num_deps + 38; }
|
||||
inline void DeactivateBegin() noexcept {}
|
||||
inline void DeactivateEnd(int num_deps) noexcept { m_cost += num_deps + 1; }
|
||||
inline void DeactivateEnd(int num_deps) noexcept { m_cost += 38 * num_deps + 38; }
|
||||
inline void MergeChunksBegin() noexcept {}
|
||||
inline void MergeChunksMid(int num_txns) noexcept {}
|
||||
inline void MergeChunksEnd(int num_steps) noexcept {}
|
||||
|
||||
Reference in New Issue
Block a user