Beispiel #1
0
 public TransactionQueue(IWalletUtils wallet)
 {
     this.wallet = wallet;
     this.queue  = new ActionBlock <Item>(SendCoinAsync, new ExecutionDataflowBlockOptions {
         MaxDegreeOfParallelism = 1
     });
 }
 public ThrottlingTest()
 {
     Throttling.Init();
     walletUtils = new WalletUtils();
     recipient   = new Recipient {
     };
 }
 public FaucetController(IConfiguration config)
 {
     walletUtils = new WalletUtils(config);
 }