MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetOutputType

Method GetOutputType

src/script/descriptor.cpp:700–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698 bool IsSolvable() const final { return false; }
699
700 std::optional<OutputType> GetOutputType() const override
701 {
702 CTxDestination dest;
703 ExtractDestination(m_script, dest);
704 return OutputTypeFromDestination(dest);
705 }
706 bool IsSingleType() const final { return true; }
707};
708

Callers

nothing calls this directly

Calls 2

ExtractDestinationFunction · 0.85

Tested by

no test coverage detected