Implementation of Bitcoin mining pool on Stratum protocol