From: CryptoManiac Date: Thu, 27 Aug 2015 13:01:40 +0000 (+0300) Subject: Add key store reset test X-Git-Url: https://git.novaco.in/?p=NovacoinLibrary.git;a=commitdiff_plain;h=309a78fe7f8b56cc582d127a74a60685f2dee2e1 Add key store reset test --- diff --git a/NovacoinTest/Program.cs b/NovacoinTest/Program.cs index 5fa85c0..5b1c51e 100644 --- a/NovacoinTest/Program.cs +++ b/NovacoinTest/Program.cs @@ -266,6 +266,11 @@ namespace NovacoinTest Console.WriteLine("KeyID={0} is identical to inserted one: {1}", kp2.KeyID.ToString(), kp2.KeyID.ToString() == kp1.KeyID.ToString()); } + watch = Stopwatch.StartNew(); + Console.WriteLine("Resetting key store..."); + keyStore.ResetPool(); + Console.WriteLine("Done in {0} ms.", watch.ElapsedMilliseconds); + Console.ReadLine(); } }