Add key store reset test
authorCryptoManiac <balthazar.ad@gmail.com>
Thu, 27 Aug 2015 13:01:40 +0000 (16:01 +0300)
committerCryptoManiac <balthazar.ad@gmail.com>
Thu, 27 Aug 2015 13:01:40 +0000 (16:01 +0300)
NovacoinTest/Program.cs

index 5fa85c0..5b1c51e 100644 (file)
@@ -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();
         }
     }