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

Function getScriptNum

include/blocksci/scripts/script_variant.hpp:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 AnyScript(const ScriptVariant &var) : wrapped(var) {}
30
31 uint32_t getScriptNum() const {
32 return mpark::visit([&](auto &scriptAddress) { return scriptAddress.getScriptNum(); }, wrapped);
33 }
34
35 AddressType::Enum getType() const {
36 return mpark::visit([&](auto &scriptAddress) { return scriptAddress.getType(); }, wrapped);

Callers 6

operator==Function · 0.70
operator!=Function · 0.70
operator<Function · 0.70
operator<=Function · 0.70
operator>Function · 0.70
operator>=Function · 0.70

Calls 1

visitFunction · 0.50

Tested by

no test coverage detected