Check if a block has been mutated (with respect to its merkle root and witness commitments).
Declared in <validation.h>
bool
IsBlockMutated(
CBlock const& block,
bool check_witness_root);
true if the block is mutated.
| Name | Description |
|---|---|
| block | The block to inspect for mutation. |
| check_witness_root | Whether to also check the witness commitment. |