* 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. */
| 547 | * instantly when entering the UTXO set. |
| 548 | */ |
| 549 | bool IsUnspendable() const |
| 550 | { |
| 551 | return (size() > 0 && *begin() == OP_RETURN) || (size() > MAX_SCRIPT_SIZE); |
| 552 | } |
| 553 | |
| 554 | void clear() |
| 555 | { |
no outgoing calls