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

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