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

Method GetTotalCount

src/coins.h:298–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296 inline bool WillErase(CoinsCachePair& current) const noexcept { return m_will_erase || current.second.coin.IsSpent(); }
297 size_t GetDirtyCount() const noexcept { return m_dirty_count; }
298 size_t GetTotalCount() const noexcept { return m_map.size(); }
299private:
300 size_t& m_dirty_count;
301 CoinsCachePair& m_sentinel;

Callers 1

BatchWriteMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected