private static void SendShare(byte[] share) { ClearConsole(); Print("*** Found Valid Share ***"); Print("Share: " + Utils.ToString(_work.Current)); Print("Nonce: " + Utils.ToString(_nonce)); Print("Hash: " + Utils.ToString(_work.Hash)); Print("Sending Share to Pool..."); if (_pool.SendShare(share)) { Print("Server accepted the Share!"); } else { Print("Server declined the Share!"); } Console.Write("Hit 'Enter' to continue..."); Console.ReadLine(); }
public bool SendShare() { return(_pool.SendShare(_paddedData, FinalNonce)); }