コード例 #1
0
 public RpcBitcoinClient(RpcConnectionParams connectionParams, IBroadcastedTransactionRepository broadcastedTransactionRepository)
 {
     _broadcastedTransactionRepository = broadcastedTransactionRepository;
     _client = new RPCClient(new RPCCredentialString {
         UserPassword = new NetworkCredential(connectionParams.UserName, connectionParams.Password)
     },
                             connectionParams.IpAddress, connectionParams.Network);
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public Job(IPaidFeesTaskWriter paidFeesTaskWriter, IPaidFeesRepository paidFeesRepository, IBroadcastedTransactionRepository broadcastedTransactionRepository)
 {
     _paidFeesTaskWriter = paidFeesTaskWriter;
     _paidFeesRepository = paidFeesRepository;
     _broadcastedTransactionRepository = broadcastedTransactionRepository;
 }
コード例 #4
0
 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);
 }
コード例 #5
0
 public RpcBccClient([KeyFilter(Constants.BccKey)] RpcConnectionParams connectionParams, IBroadcastedTransactionRepository broadcastedTransactionRepository, IBroadcastedTransactionBlobStorage broadcastedTransactionBlob) :
     base(connectionParams, broadcastedTransactionRepository, broadcastedTransactionBlob)
 {
 }