Stratum mining protocol implementation in Golang