Esempio n. 1
0
 public RPCWalletService(RPCClient rpc)
 {
     _RPCClient    = rpc ?? throw new ArgumentNullException(nameof(rpc));
     _FundingBatch = new FundingBatch(rpc);
     _ReceiveBatch = new ReceiveBatch(rpc);
     _RPCBatch     = new RPCBatch <bool>(rpc);
     BatchInterval = TimeSpan.Zero;
     AddressGenerationBatchInterval = TimeSpan.Zero;
 }
Esempio n. 2
0
 public RPCWalletService(RPCClient rpc)
 {
     if (rpc == null)
     {
         throw new ArgumentNullException(nameof(rpc));
     }
     _RPCClient    = rpc;
     _FundingBatch = new FundingBatch(rpc);
     _ReceiveBatch = new ReceiveBatch(rpc);
     BatchInterval = TimeSpan.Zero;
 }