MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / 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(*static_cast<const std::vector<unsigned char>*>(&script));
14}
15
16static inline size_t RecursiveDynamicUsage(const COutPoint& out) {
17 return 0;

Callers 2

CTxMemPoolEntryMethod · 0.85
BOOST_FOREACHMethod · 0.85

Calls 3

DynamicUsageFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected