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

Method ScriptInputData

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

Source from the content-addressed store, hash-verified

72ScriptInputData<blocksci::AddressType::Enum::SCRIPTHASH>::ScriptInputData(std::pair<AnyScriptOutput, std::unique_ptr<AnyScriptInput>> data) : wrappedScriptOutput(data.first), wrappedScriptInput(std::move(data.second)) {}
73
74ScriptInputData<blocksci::AddressType::Enum::SCRIPTHASH>::ScriptInputData(const InputView &inputView, const blocksci::CScriptView &scriptView, const RawTransaction &tx, const SpendData<blocksci::AddressType::Enum::SCRIPTHASH> &spendData) : ScriptInputData(p2shGenerate(inputView, scriptView, tx, spendData)) {}
75
76void ScriptInputData<blocksci::AddressType::Enum::SCRIPTHASH>::process(AddressState &state) {
77 uint32_t scriptNum = wrappedScriptOutput.resolve(state);

Callers

nothing calls this directly

Calls 7

p2shGenerateFunction · 0.85
CScriptClass · 0.85
p2shWitnessGenerateFunction · 0.85
sizeMethod · 0.45
beginMethod · 0.45
GetOpMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected