Compute at which vout of the block's coinbase transaction the witness commitment occurs, or -1 if not found
The output index of the witness commitment, or NO_WITNESS_COMMITMENT (-1) if none is present.
| Name | Description |
|---|---|
| block | The block whose coinbase outputs are scanned. |