[#wallet-CWallet-CacheNewScriptPubKeys] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::CacheNewScriptPubKeys :relfileprefix: ../../ :mrdocs: Add scriptPubKeys for this ScriptPubKeyMan into the scriptPubKey cache == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void CacheNewScriptPubKeys( std::set<CScript> const& spks, xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan]* spkm); ---- == Parameters [cols="1,4"] |=== | Name| Description | *spks* | The scripts to cache. | *spkm* | The ScriptPubKeyMan the scripts belong to. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#