Whether this or any known scriptPubKey with the same single key has been spent.

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7f94fde04b68), requires_capability(0x7f95061a78a8), requires_capability(0x7f94f2b783b8), requires_capability(0x7f94f0cf7048), requires_capability(0x7f94fee39a38)]]
bool
IsSpentKey(CScript const& scriptPubKey) const;

Return Value

true if the key behind the script has been spent.

Parameters

Name

Description

scriptPubKey

The script to check.

Created with MrDocs