GenerateKey() public static method

public static GenerateKey ( ) : OpenSSL.Crypto.EC.Key
return OpenSSL.Crypto.EC.Key
Esempio n. 1
0
        public void DoMining()
        {
            // Generate key
            Key key = Program.GenerateKey();

            while (true)
            {
                // Make sure we are connected to the network

                // Create block
                Block block = CreateBlock(key);
            }
        }