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

Method f

blockscipy/src/chain/blockchain_py.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 template<blocksci::AddressType::Enum type>
29 struct PythonScriptRangeFunctor {
30 static PythonScriptRangeVariant f(blocksci::DataAccess &access) {
31 auto scriptCount = getScriptCount(type, access);
32 return PythonScriptRange<type>{ranges::views::ints(uint32_t{1}, scriptCount + 1) | ranges::views::transform([&](uint32_t scriptNum) {
33 return ScriptAddress<type>(scriptNum, access);
34 })};
35 }
36 };
37}
38

Callers

nothing calls this directly

Calls 1

getScriptCountFunction · 0.85

Tested by

no test coverage detected