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

Method f

src/scripts/script_variant.cpp:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 template<blocksci::AddressType::Enum type>
21 struct ScriptCreateFunctor {
22 static blocksci::ScriptVariant f(uint32_t scriptNum, blocksci::DataAccess &access) {
23 return blocksci::ScriptAddress<type>(scriptNum, access.getScripts().getScriptData<dedupType(type)>(scriptNum), access);
24 }
25 };
26
27 static constexpr auto scriptCreator = blocksci::make_dynamic_table<blocksci::AddressType, ScriptCreateFunctor>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected