Initial version of coinbase checking function for GBT and stratum