MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / MakeScripts

Method MakeScripts

src/script/descriptor.cpp:780–784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

778class PKDescriptor final : public DescriptorImpl {
779protected:
780 std::vector<CScript> MakeScripts(const std::vector<CPubKey> &keys,
781 const CScript *,
782 FlatSigningProvider &) const override {
783 return Vector(GetScriptForRawPubKey(keys[0]));
784 }
785
786public:
787 PKDescriptor(std::unique_ptr<PubkeyProvider> prov)

Callers

nothing calls this directly

Calls 2

VectorFunction · 0.85
GetScriptForRawPubKeyFunction · 0.85

Tested by

no test coverage detected