static void Main(string[] args) { Blockchain bc = new Blockchain(); SharpKeyPair skp = SharpKeyPair.Create(); while (true) { Block b = Miner.Solve(skp, bc); bc.AddBlock(b); } }
public void RequestKeyPair(byte[] data) { Log.NewLine($"Sending keypair."); Send(Opcodes["RequestKeyPairResponse"], SharpKeyPair.Create().AsData()); }