public BccOutputService(IBccQbBitNinjaApiCaller qbitNinjaApiCaller, [KeyFilter(Constants.BccKey)] ISpentOutputRepository spentOutputRepository,
                         IWalletAddressRepository walletAddressRepository)
 {
     _qbitNinjaApiCaller      = qbitNinjaApiCaller;
     _spentOutputRepository   = spentOutputRepository;
     _walletAddressRepository = walletAddressRepository;
 }
 public MultisigService(IWalletAddressRepository walletAddressRepository,
                        Func <SignatureApiProviderType, ISignatureApiProvider> signatureApiProviderFactory,
                        RpcConnectionParams connectionParams)
 {
     _walletAddressRepository = walletAddressRepository;
     _signatureApiProvider    = signatureApiProviderFactory(SignatureApiProviderType.Exchange);
     _connectionParams        = connectionParams;
 }
 public BitcoinOutputsService(IQBitNinjaApiCaller qBitNinjaApiCaller,
                              IBroadcastedOutputRepository broadcastedOutputRepository,
                              ISpentOutputRepository spentOutputRepository, IWalletAddressRepository walletAddressRepository, RpcConnectionParams connectionParams)
 {
     _qBitNinjaApiCaller          = qBitNinjaApiCaller;
     _broadcastedOutputRepository = broadcastedOutputRepository;
     _spentOutputRepository       = spentOutputRepository;
     _walletAddressRepository     = walletAddressRepository;
     _connectionParams            = connectionParams;
 }
Exemple #4
0
 public WalletService(IWalletAddressRepository walletAddressRepository,
                      ISignatureApiProvider signatureApiProvider,
                      ISegwitPrivateWalletRepository segwitPrivateWalletRepository,
                      RpcConnectionParams connectionParams)
 {
     _walletAddressRepository       = walletAddressRepository;
     _segwitPrivateWalletRepository = segwitPrivateWalletRepository;
     _signatureApiProvider          = signatureApiProvider;
     _connectionParams = connectionParams;
 }