[#wallet-DescriptorScriptPubKeyMan-GetKeyPoolSize]
= xref:wallet.adoc[wallet]::xref:wallet/DescriptorScriptPubKeyMan.adoc[DescriptorScriptPubKeyMan]::GetKeyPoolSize
:relfileprefix: ../../
:mrdocs:

Returns the number of pre&hyphen;generated keys&sol;scripts in the cache&period;

== Synopsis

Declared in `&lt;wallet&sol;scriptpubkeyman&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
unsigned int
GetKeyPoolSize() const override;
----

== Return Value

The keypool size&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
