MCPcopy Create free account
hub / github.com/citp/BlockSci / getEquivAddresses

Method getEquivAddresses

src/scripts/script_variant.cpp:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 EquivAddress AnyScript::getEquivAddresses(bool nestedEquivalent) const {
44 return mpark::visit([&](auto &scriptAddress) { return scriptAddress.getEquivAddresses(nestedEquivalent); }, wrapped);
45 }
46
47 int64_t AnyScript::calculateBalance(BlockHeight height) const {
48 return mpark::visit([&](auto &scriptAddress) { return scriptAddress.calculateBalance(height); }, wrapped);

Callers

nothing calls this directly

Calls 1

visitFunction · 0.50

Tested by

no test coverage detected