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

Method MakeScripts

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

Source from the content-addressed store, hash-verified

675protected:
676 std::string ToStringExtra() const override { return EncodeDestination(m_destination); }
677 std::vector<CScript> MakeScripts(const std::vector<CPubKey>&, Span<const CScript>, FlatSigningProvider&) const override { return Vector(GetScriptForDestination(m_destination)); }
678public:
679 AddressDescriptor(CTxDestination destination) : DescriptorImpl({}, "addr"), m_destination(std::move(destination)) {}
680 bool IsSolvable() const final { return false; }

Callers

nothing calls this directly

Calls 2

VectorFunction · 0.85
GetScriptForDestinationFunction · 0.85

Tested by

no test coverage detected