[#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. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::unordered_set<CScript, SaltedSipHasher> GetNotMineScriptPubKeys() const; ---- == Return Value The set of invalid or not‐watched scriptPubKeys. [.small]#Created with https://www.mrdocs.com[MrDocs]#