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

Method AnyScriptInput

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

Source from the content-addressed store, hash-verified

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)) {}
32
33void AnyScriptInput::process(AddressState &state) {
34 mpark::visit([&](auto &scriptInput) { scriptInput.process(state); }, wrapped);

Callers

nothing calls this directly

Calls 2

visitFunction · 0.70

Tested by

no test coverage detected