Beispiel #1
0
 public void Miner_Stop()
 {
     if (_miner != null)
     {
         _miner.Stop();
         while (_miner.IsRunning())
         {
             Thread.Sleep(100);
         }
         _miner = null;
     }
 }
Beispiel #2
0
 public void Miner_Start(string address)
 {
     _miner = new BlockChainDemo.Miner(this, address);
     _miner.Start();
 }