Exemplo n.º 1
0
 void _cpuMiner_NewWork(WorkInfo obj)
 {
     Log(string.Format("CPU-Worker: getwork."));
     SetDebugInfo(obj);
 }
Exemplo n.º 2
0
 private void SetDebugInfo(WorkInfo info)
 {
     SafeInvoke(() =>
     {
         d_tbWorkId.Text = info.WorkId.ToString();
         d_tbMinNonce.Text = info.MinNonce.ToString();
         d_tbMaxNonce.Text = info.MaxNonce.ToString();
         d_tbPBH.Text = info.PrevBlockHash;
         d_tbMR.Text = info.MerkleRoot;
         d_tbBits.Text = info.Bits.ToString();
     });
 }