[#wallet-ScriptPubKeyMan-2constructor-0f] = xref:wallet.adoc[wallet]::xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan]::ScriptPubKeyMan :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<wallet/scriptpubkeyman.h>` A class implementing ScriptPubKeyMan manages some (or all) scriptPubKeys used in a wallet. It contains the scripts and keys related to the scriptPubKeys it manages. A ScriptPubKeyMan will be able to give out scriptPubKeys to be used, as well as marking when a scriptPubKey has been used. It also handles when and how to store a scriptPubKey and its related scripts and keys, including encryption. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan](xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan] const&) = delete = default; ---- [.small]#xref:wallet/ScriptPubKeyMan.adoc[_» more..._]# Construct a ScriptPubKeyMan bound to the given wallet storage. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:wallet/ScriptPubKeyMan/2constructor-09.adoc[ScriptPubKeyMan](xref:wallet/WalletStorage.adoc[WalletStorage]& storage); ---- [.small]#xref:wallet/ScriptPubKeyMan/2constructor-09.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *storage* | The wallet storage this ScriptPubKeyMan uses to persist and query wallet‐wide state. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#