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.
Declared in <wallet/scriptpubkeyman.h>
std::unordered_set<CScript, SaltedSipHasher>
GetNotMineScriptPubKeys() const;
The set of invalid or not-watched scriptPubKeys.