MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / IsUnspendable

Method IsUnspendable

src/script/script.h:621–624  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

619 * instantly when entering the UTXO set.
620 */
621 bool IsUnspendable() const
622 {
623 return (size() > 0 && *begin() == OP_RETURN);
624 }
625
626 void clear()
627 {

Callers 2

ScriptToAsmStrFunction · 0.80
BOOST_FOREACHMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected