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

Method inputString

src/scripts/nonstandard_script.cpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 }
32
33 std::string ScriptAddress<AddressType::NONSTANDARD>::inputString() const {
34 auto inputScript = getInputScript();
35 if (inputScript) {
36 return ScriptToAsmStr(*inputScript);
37 } else {
38 return "No input script";
39 }
40 }
41
42 std::string ScriptAddress<AddressType::NONSTANDARD>::outputString() const {
43 return ScriptToAsmStr(getOutputScript());

Callers

nothing calls this directly

Calls 1

ScriptToAsmStrFunction · 0.85

Tested by

no test coverage detected