MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetCapacity

Method GetCapacity

src/minisketch/include/minisketch.h:282–282  ·  view source on GitHub ↗

Return the capacity for a (valid) Minisketch object. */

Source from the content-addressed store, hash-verified

280
281 /** Return the capacity for a (valid) Minisketch object. */
282 size_t GetCapacity() const noexcept { return minisketch_capacity(m_minisketch.get()); }
283
284 /** Return the implementation number for a (valid) Minisketch object. */
285 uint32_t GetImplementation() const noexcept { return minisketch_implementation(m_minisketch.get()); }

Callers 1

TestRandomizedFunction · 0.80

Calls 2

minisketch_capacityFunction · 0.85
getMethod · 0.45

Tested by 1

TestRandomizedFunction · 0.64