[#IsBIP30Unspendable]
= IsBIP30Unspendable
:mrdocs:

Identifies blocks which coinbase output was subsequently overwritten in the UTXO set (see BIP30)&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
IsBIP30Unspendable(
    xref:uint256.adoc[uint256] const& block&lowbar;hash,
    int block&lowbar;height);
----

== Return Value

true if the block&apos;s coinbase output is unspendable under BIP30&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block&lowbar;hash*
| Hash of the block being checked&period;
| *block&lowbar;height*
| Height of the block being checked&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
