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

Method Clone

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

Source from the content-addressed store, hash-verified

1282 std::optional<int64_t> MaxSatisfactionElems() const override { return 2; }
1283
1284 std::unique_ptr<DescriptorImpl> Clone() const override
1285 {
1286 return std::make_unique<WPKHDescriptor>(m_pubkey_args.at(0)->Clone());
1287 }
1288};
1289
1290/** A parsed combo(P) descriptor. */

Callers

nothing calls this directly

Calls 2

CloneMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected