MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / MakeScripts

Method MakeScripts

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

Source from the content-addressed store, hash-verified

1135protected:
1136 std::string ToStringExtra() const override { return EncodeDestination(m_destination); }
1137 std::vector<CScript> MakeScripts(const std::vector<CPubKey>&, std::span<const CScript>, FlatSigningProvider&) const override { return Vector(GetScriptForDestination(m_destination)); }
1138public:
1139 AddressDescriptor(CTxDestination destination) : DescriptorImpl({}, "addr"), m_destination(std::move(destination)) {}
1140 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