public StartupChainModule(Context context, ChainService chainSyncService, NodeConnectionService nodeConnectionService, ILoggerFactory loggerFactory) : base(context) { this.ChainIndex = context.ChainIndex; this.chainSyncService = chainSyncService; this.nodeConnectionService = nodeConnectionService; this.logger = loggerFactory.CreateLogger <StartupChainModule>(); }
public ShutdowhainChainModule(Context context, ChainService chainSyncService, NodeConnectionService nodeConnectionService, ILoggerFactory loggerFactory, WalletStore walletStore) : base(context) { this.ChainIndex = context.ChainIndex; this.chainSyncService = chainSyncService; this.nodeConnectionService = nodeConnectionService; this.walletStore = walletStore; this.logger = loggerFactory.CreateLogger <ShutdowhainChainModule>(); }
public Logger(Context context, ILoggerFactory loggerFactory, LogFilter logFilter, WalletStore walletStore, WalletService walletService, BlockMiner blockMiner, ChainService chainService, NodeConnectionService nodeConnectionService, MinerService minerService) : base(context) { this.context = context; this.logFilter = logFilter; this.walletStore = walletStore; this.walletService = walletService; this.blockMiner = blockMiner; this.chainService = chainService; this.nodeConnectionService = nodeConnectionService; this.minerService = minerService; this.logger = loggerFactory.CreateLogger <Staker>(); }