public EthApiMiningService(IClient client) : base(client)
 {
     SubmitHashrate = new EthSubmitHashrate(client);
     SubmitWork     = new EthSubmitWork(client);
     GetWork        = new EthGetWork(client);
     Hashrate       = new EthHashrate(client);
     IsMining       = new EthMining(client);
 }
Ejemplo n.º 2
0
 public EthMiningService(IClient client) : base(client)
 {
     SubmitHashrate = new EthSubmitHashrate(client);
     SubmitWork = new EthSubmitWork(client);
     GetWork = new EthGetWork(client);
     Hashrate = new EthHashrate(client);
     IsMining = new EthMining(client);
 }
Ejemplo n.º 3
0
        public async Task <object> ExecuteTestAsync(IClient client)
        {
            var ethHashrate = new EthHashrate(client);

            return(await ethHashrate.SendRequestAsync());
        }
Ejemplo n.º 4
0
        public async Task <dynamic> ExecuteTestAsync(RpcClient client)
        {
            var ethHashrate = new EthHashrate(client);

            return(await ethHashrate.SendRequestAsync());
        }
Ejemplo n.º 5
0
        public override async Task <HexBigInteger> ExecuteAsync(IClient client)
        {
            var minerHashrate = new EthHashrate(client);

            return(await minerHashrate.SendRequestAsync());
        }
Ejemplo n.º 6
0
 public async Task<dynamic> ExecuteTestAsync(RpcClient client)
 {
     var ethHashrate = new EthHashrate(client);
     return await ethHashrate.SendRequestAsync();
 }