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

Method ExpandPrivate

src/script/descriptor.cpp:1031–1039  ·  view source on GitHub ↗

NOLINTNEXTLINE(misc-no-recursion)

Source from the content-addressed store, hash-verified

1029
1030 // NOLINTNEXTLINE(misc-no-recursion)
1031 void ExpandPrivate(int pos, const SigningProvider& provider, FlatSigningProvider& out) const final
1032 {
1033 for (const auto& p : m_pubkey_args) {
1034 p->GetPrivKey(pos, provider, out);
1035 }
1036 for (const auto& arg : m_subdescriptor_args) {
1037 arg->ExpandPrivate(pos, provider, out);
1038 }
1039 }
1040
1041 std::optional<OutputType> GetOutputType() const override { return std::nullopt; }
1042

Callers 3

DoCheckFunction · 0.45
TestDescriptorFunction · 0.45

Calls 1

GetPrivKeyMethod · 0.45

Tested by 2

DoCheckFunction · 0.36
TestDescriptorFunction · 0.36