Пример #1
0
 public UnsignedTransactionService(
     ITransactionBuilder builder,
     INosqlRepo <UnsignedTransactionEntity> unsignedTxRepo)
 {
     _builder        = builder;
     _unsignedTxRepo = unsignedTxRepo;
 }
 public UnsignedTransactionService(
     ITransactionBuilder builder,
     INosqlRepo <UnsignedTransactionEntity> unsignedTxRepo,
     INosqlRepo <BroadcastedTransaction> broadcastTxRepo)
 {
     _builder         = builder;
     _unsignedTxRepo  = unsignedTxRepo;
     _broadcastTxRepo = broadcastTxRepo;
 }
Пример #3
0
 public TransactionBuilder(
     ITransactionFeeService feeService,
     ITransactionRepository txRepo,
     INosqlRepo <BroadcastedOutpoint> broadcastedOutpointRepo)
 {
     _feeService = feeService;
     _txRepo     = txRepo;
     _broadcastedOutpointRepo = broadcastedOutpointRepo;
 }
 public HealthService(
     ILogFactory lf,
     IDcrdClient client,
     IBlockRepository blockRepository, INosqlRepo <HealthStatusEntity> healthStatusRepo)
 {
     _log              = lf.CreateLog(this);
     _dcrdClient       = client;
     _blockRepository  = blockRepository;
     _healthStatusRepo = healthStatusRepo;
 }
 public BalanceService(
     INosqlRepo <ObservableWalletEntity> observableWalletRepository,
     IAddressRepository addressRepository,
     IDcrdClient dcrdClient,
     IAddressValidationService addressValidator)
 {
     _observableWalletRepository = observableWalletRepository;
     _addressRepository          = addressRepository;
     _dcrdClient       = dcrdClient;
     _addressValidator = addressValidator;
 }
Пример #6
0
 public TransactionHistoryService(
     ITransactionRepository txRepo,
     IAddressValidationService addressValidator,
     INosqlRepo <BroadcastedTransactionByHash> broadcastTxHashRepo,
     INosqlRepo <ObservableAddressEntity> operationRepo)
 {
     _txRepo              = txRepo;
     _addressValidator    = addressValidator;
     _broadcastTxHashRepo = broadcastTxHashRepo;
     _operationRepo       = operationRepo;
 }
Пример #7
0
        public TransactionBroadcastService(
            IDcrdClient dcrdClient,
            IBlockRepository blockRepository,
            ITransactionRepository txRepo,
            INosqlRepo <BroadcastedTransaction> broadcastTxRepo,
            INosqlRepo <BroadcastedTransactionByHash> broadcastTxHashRepo)
        {
            _dcrdClient      = dcrdClient;
            _blockRepository = blockRepository;
            _txRepo          = txRepo;

            _broadcastTxRepo     = broadcastTxRepo;
            _broadcastTxHashRepo = broadcastTxHashRepo;
        }