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

Method Clone

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

Source from the content-addressed store, hash-verified

1216 std::optional<int64_t> MaxSatisfactionElems() const override { return 1; }
1217
1218 std::unique_ptr<DescriptorImpl> Clone() const override
1219 {
1220 return std::make_unique<PKDescriptor>(m_pubkey_args.at(0)->Clone(), m_xonly);
1221 }
1222};
1223
1224/** A parsed pkh(P) descriptor. */

Callers 15

CloneMethod · 0.45
CloneMethod · 0.45
CloneMethod · 0.45
CloneMethod · 0.45
CloneMethod · 0.45
CloneMethod · 0.45
CloneMethod · 0.45
CloneMethod · 0.45
CloneMethod · 0.45
CloneMethod · 0.45
CloneMethod · 0.45
CloneMethod · 0.45

Calls 1

atMethod · 0.45

Tested by

no test coverage detected