public async Task Start(CancellationToken cancellationToken) { if (_logger.IsDebug) { _logger.Debug("Initializing Ethereum"); } EthereumStepsManager stepsManager = new EthereumStepsManager(_context); await stepsManager.DiscoverAll(cancellationToken); await stepsManager.InitializeAll(cancellationToken); string infoScreen = ThisNodeInfo.BuildNodeInfoScreen(); if (_logger.IsInfo) { _logger.Info(infoScreen); } }
public async Task Start() { if (_logger.IsDebug) { _logger.Debug("Initializing Ethereum"); } _context.RunnerCancellation = new CancellationTokenSource(); _context.DisposeStack.Push(_context.RunnerCancellation); EthereumStepsManager stepsManager = new EthereumStepsManager(_context); stepsManager.DiscoverAll(); await stepsManager.InitializeAll(); string infoScreen = ThisNodeInfo.BuildNodeInfoScreen(); if (_logger.IsInfo) { _logger.Info(infoScreen); } }