View definition

func UpdateExtraNonce

Defined in


UpdateExtraNonce updates the extra nonce in the coinbase script of the passed block by regenerating the coinbase script with the passed value and block height. It also recalculates and updates the new merkle root that results from changing the coinbase script.

UpdateExtraNonce is referenced in 1 repository