Exemplo n.º 1
0
        public Task InitializeAsync()
        {
            this.store = new ConcurrentDictionary <uint256, Block>();
            this.PerformanceCounter = new BlockStoreRepositoryPerformanceCounter(DateTimeProvider.Default);

            return(Task.FromResult <object>(null));
        }
Exemplo n.º 2
0
 public BlockStoreRepositoryPerformanceCounterTest()
 {
     this.performanceCounter = new BlockStoreRepositoryPerformanceCounter(DateTimeProvider.Default);
 }
Exemplo n.º 3
0
 public BlockStoreRepositoryPerformanceCounterTest()
 {
     this.performanceCounter = new BlockStoreRepositoryPerformanceCounter();
 }