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

Method Clone

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

Source from the content-addressed store, hash-verified

1249 std::optional<int64_t> MaxSatisfactionElems() const override { return 2; }
1250
1251 std::unique_ptr<DescriptorImpl> Clone() const override
1252 {
1253 return std::make_unique<PKHDescriptor>(m_pubkey_args.at(0)->Clone());
1254 }
1255};
1256
1257/** A parsed wpkh(P) descriptor. */

Callers

nothing calls this directly

Calls 2

CloneMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected