예제 #1
0
 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>();
 }
예제 #2
0
 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>();
 }
예제 #3
0
 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>();
 }