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

Method Clone

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

Source from the content-addressed store, hash-verified

1309 ComboDescriptor(std::unique_ptr<PubkeyProvider> prov) : DescriptorImpl(Vector(std::move(prov)), "combo") {}
1310 bool IsSingleType() const final { return false; }
1311 std::unique_ptr<DescriptorImpl> Clone() const override
1312 {
1313 return std::make_unique<ComboDescriptor>(m_pubkey_args.at(0)->Clone());
1314 }
1315};
1316
1317/** A parsed multi(...) or sortedmulti(...) descriptor */

Callers

nothing calls this directly

Calls 2

CloneMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected