Exemple #1
0
 public Miner(IClient client) : base(client)
 {
     Hashrate    = new MinerHashrate(client);
     SetGasPrice = new MinerSetGasPrice(client);
     Start       = new MinerStart(client);
     Stop        = new MinerStop(client);
 }
Exemple #2
0
 public MinerApiService(IClient client) : base(client)
 {
     SetGasPrice = new MinerSetGasPrice(client);
     Start       = new MinerStart(client);
     Stop        = new MinerStop(client);
 }
Exemple #3
0
        public override async Task <bool> ExecuteAsync(IClient client)
        {
            var minerSetGasPrice = new MinerSetGasPrice(client);

            return(await minerSetGasPrice.SendRequestAsync(new HexBigInteger(1000)));
        }
Exemple #4
0
 public Miner(IClient client) : base(client)
 {
     SetGasPrice = new MinerSetGasPrice(client);
     Start = new MinerStart(client);
     Stop = new MinerStop(client);
 }