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

Method GetPrivKey

src/script/descriptor.cpp:777–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775 }
776
777 void GetPrivKey(int pos, const SigningProvider& arg, FlatSigningProvider& out) const override
778 {
779 // Get the private keys for any participants that we have
780 // If there is participant derivation, it will be done.
781 // If there is not, then the participant privkeys will be included directly
782 for (const auto& prov : m_participants) {
783 prov->GetPrivKey(pos, arg, out);
784 }
785 }
786
787 // Get RootPubKey and GetRootExtPubKey are used to return the single pubkey underlying the pubkey provider
788 // to be presented to the user in gethdkeys. As this is a multisig construction, there is no single underlying

Callers

nothing calls this directly

Calls 1

GetPrivKeyMethod · 0.45

Tested by

no test coverage detected