[#wallet-LegacyDataSPKM-GetNotMineScriptPubKeys]
= xref:wallet.adoc[wallet]::xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]::GetNotMineScriptPubKeys
:relfileprefix: ../../
:mrdocs:

Retrieves scripts that were imported by bugs into the legacy spkm and are simply invalid, such as a sh(sh(pkh())) script, or not watched&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::unordered&lowbar;set&lt;CScript, SaltedSipHasher&gt;
GetNotMineScriptPubKeys() const;
----

== Return Value

The set of invalid or not&hyphen;watched scriptPubKeys&period;


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