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

Method GetKeyCount

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

Get the count of keys known by this PubkeyProvider. Usually one, but may be more for key aggregation schemes */

Source from the content-addressed store, hash-verified

247
248 /** Get the count of keys known by this PubkeyProvider. Usually one, but may be more for key aggregation schemes */
249 virtual size_t GetKeyCount() const { return 1; }
250
251 /** Whether this PubkeyProvider can always provide a public key without cache or private key arguments */
252 virtual bool CanSelfExpand() const = 0;

Callers 3

GetKeyCountMethod · 0.45
DoCheckFunction · 0.45
TestDescriptorFunction · 0.45

Calls

no outgoing calls

Tested by 2

DoCheckFunction · 0.36
TestDescriptorFunction · 0.36