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

Method Clone

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

Source from the content-addressed store, hash-verified

317 return m_provider->GetRootExtPubKey();
318 }
319 std::unique_ptr<PubkeyProvider> Clone() const override
320 {
321 return std::make_unique<OriginPubkeyProvider>(m_expr_index, m_origin, m_provider->Clone(), m_apostrophe);
322 }
323 bool CanSelfExpand() const override { return m_provider->CanSelfExpand(); }
324};
325

Callers

nothing calls this directly

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected