MCPcopy Create free account
hub / github.com/citp/BlockSci / operator()

Method operator()

tools/parser/script_input.cpp:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25 template <blocksci::AddressType::Enum type>
26 ScriptInputType operator()(const SpendData<type> &spendData) const {
27 return ScriptInput<type>(inputView, scriptView, tx, spendData);
28 }
29};
30
31AnyScriptInput::AnyScriptInput(const InputView &inputView, const blocksci::CScriptView &scriptView, const RawTransaction &tx, const AnySpendData &spendData) : wrapped(mpark::visit(ScriptInputGenerator(inputView, scriptView, tx), spendData.wrapped)) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected