Exemplo n.º 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>();
 }
Exemplo n.º 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>();
 }
Exemplo n.º 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>();
 }