From 309a78fe7f8b56cc582d127a74a60685f2dee2e1 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Thu, 27 Aug 2015 16:01:40 +0300 Subject: [PATCH 1/1] Add key store reset test --- NovacoinTest/Program.cs | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) 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(); } } -- 1.7.1