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

Method IsUnspendable

src/script/script.h:549–552  ·  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

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 {

Callers 8

ScriptToAsmStrFunction · 0.80
UpgradeMethod · 0.80
AddCoinMethod · 0.80
DisconnectBlockMethod · 0.80
GetDustThresholdFunction · 0.80
GetAmountsMethod · 0.80
wallet.cppFile · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64