public RpcBitcoinClient(RpcConnectionParams connectionParams, IBroadcastedTransactionRepository broadcastedTransactionRepository) { _broadcastedTransactionRepository = broadcastedTransactionRepository; _client = new RPCClient(new RPCCredentialString { UserPassword = new NetworkCredential(connectionParams.UserName, connectionParams.Password) }, connectionParams.IpAddress, connectionParams.Network); }
public TransactionController(ILykkeTransactionBuilderService builder, IAssetRepository assetRepository, ISignatureApiProvider signatureApiProvider, ITransactionSignRequestRepository transactionSignRequestRepository, ITransactionBlobStorage transactionBlobStorage, IBitcoinBroadcastService broadcastService, IBroadcastedTransactionRepository broadcastedTransactionRepository, IOffchainService offchainService) { _builder = builder; _assetRepository = assetRepository; _signatureApiProvider = signatureApiProvider; _transactionSignRequestRepository = transactionSignRequestRepository; _transactionBlobStorage = transactionBlobStorage; _broadcastService = broadcastService; _broadcastedTransactionRepository = broadcastedTransactionRepository; _offchainService = offchainService; }
public Job(IPaidFeesTaskWriter paidFeesTaskWriter, IPaidFeesRepository paidFeesRepository, IBroadcastedTransactionRepository broadcastedTransactionRepository) { _paidFeesTaskWriter = paidFeesTaskWriter; _paidFeesRepository = paidFeesRepository; _broadcastedTransactionRepository = broadcastedTransactionRepository; }
public RpcBitcoinClient(RpcConnectionParams connectionParams, IBroadcastedTransactionRepository broadcastedTransactionRepository, IBroadcastedTransactionBlobStorage broadcastedTransactionBlob) { _broadcastedTransactionRepository = broadcastedTransactionRepository; _broadcastedTransactionBlob = broadcastedTransactionBlob; _client = new RPCClient(new NetworkCredential(connectionParams.UserName, connectionParams.Password), connectionParams.IpAddress, connectionParams.Network); }
public RpcBccClient([KeyFilter(Constants.BccKey)] RpcConnectionParams connectionParams, IBroadcastedTransactionRepository broadcastedTransactionRepository, IBroadcastedTransactionBlobStorage broadcastedTransactionBlob) : base(connectionParams, broadcastedTransactionRepository, broadcastedTransactionBlob) { }