public BlockPullerTestsHelper() { this.loggerFactory = ExtendedLoggerFactory.Create(); this.CallbacksCalled = new Dictionary <uint256, Block>(); this.ChainState = new ChainState() { ConsensusTip = ChainedHeadersHelper.CreateGenesisChainedHeader() }; this.Puller = new ExtendedBlockPuller(this.ChainState, new NodeSettings(new StratisMain()), new DateTimeProvider(), new NodeStats(new DateTimeProvider(), this.loggerFactory), this.loggerFactory); }
public BlockPullerTests() { this.helper = new BlockPullerTestsHelper(); this.puller = this.helper.Puller; }