wallet::CWallet::IsSpentKey

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

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7f2e1e5980b8), requires_capability(0x7f2e11aa8e78), requires_capability(0x7f2e169fec68), requires_capability(0x7f2e15f2e108), requires_capability(0x7f2e12c6cd98)]]
bool
IsSpentKey(CScript const& scriptPubKey) const;

Return Value

true if the key behind the script has been spent.

Parameters

NameDescription
scriptPubKeyThe script to check.