CScript::IsUnspendable

Returns whether the script is guaranteed to fail at execution, regardless of the initial stack. This allows outputs to be pruned instantly when entering the UTXO set.

Synopsis

Declared in <script/script.h>

bool
IsUnspendable() const;

Return Value

true if the output is provably unspendable.