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

Function RecursiveDynamicUsage

src/core_memusage.h:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <memusage.h>
11
12static inline size_t RecursiveDynamicUsage(const CScript& script) {
13 return memusage::DynamicUsage(script);
14}
15
16static inline size_t RecursiveDynamicUsage(const COutPoint& out) {
17 return 0;

Callers 11

ProcessInvalidTxMethod · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
FUZZ_TARGETFunction · 0.85
transaction.cppFile · 0.85
block.cppFile · 0.85
FUZZ_TARGETFunction · 0.85
script.cppFile · 0.85
CTxMemPoolEntryMethod · 0.85
LimitMemoryUsageMethod · 0.85
removeForBlockMethod · 0.85

Calls 3

DynamicUsageFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by 3

BOOST_FIXTURE_TEST_CASEFunction · 0.68
FUZZ_TARGETFunction · 0.68
FUZZ_TARGETFunction · 0.68