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

Method getWitnessScript

src/scripts/witness_unknown_script.cpp:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 }
34
35 CScriptView ScriptAddress<AddressType::WITNESS_UNKNOWN>::getWitnessScript() const {
36 return {getData()->scriptData.begin(), getData()->scriptData.end()};
37 }
38
39 std::string ScriptAddress<AddressType::WITNESS_UNKNOWN>::getWitnessScriptString() const {
40 return ScriptToAsmStr(getWitnessScript());

Callers

nothing calls this directly

Calls 3

getDataFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected