Esempio n. 1
0
 public TotalSupplyInconsistencyChecker(
     MVNTokenService tokenServiceForPublicNetwork,
     PrivateBlockchain.Services.MVNTokenService tokenServiceForInternalNetwork,
     string internalBlockchainGatewayAddress,
     ILogFactory logFactory)
     : base(IdlePeriod, logFactory)
 {
     _tokenServiceForPublicNetwork     = tokenServiceForPublicNetwork;
     _tokenServiceForInternalNetwork   = tokenServiceForInternalNetwork;
     _internalBlockchainGatewayAddress = internalBlockchainGatewayAddress;
     _log = logFactory.CreateLog(this);
 }
Esempio n. 2
0
 public TotalSupplySynchronizer(
     MVNTokenService tokenServiceForPublicNetwork,
     PrivateBlockchain.Services.MVNTokenService tokenServiceForInternalNetwork,
     IOperationsService operationsService,
     ISettingsService settingsService,
     IBlockchainEncodingService blockchainEncodingService,
     TimeSpan?idlePeriod,
     ILogFactory logFactory)
     : base(idlePeriod ?? DefaultIdlePeriod, logFactory)
 {
     _tokenServiceForPublicNetwork   = tokenServiceForPublicNetwork;
     _tokenServiceForInternalNetwork = tokenServiceForInternalNetwork;
     _operationsService         = operationsService;
     _settingsService           = settingsService;
     _blockchainEncodingService = blockchainEncodingService;
     _log = logFactory.CreateLog(this);
 }