gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: make batch withdrawal configu


From: gnunet
Subject: [taler-wallet-core] branch master updated: make batch withdrawal configurable in benchmarks
Date: Tue, 10 May 2022 08:39:44 +0200

This is an automated email from the git hooks/post-receive script.

marco-boss pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new c02dbc83 make batch withdrawal configurable in benchmarks
c02dbc83 is described below

commit c02dbc833bc384b72e5b18450a47ae2b212b0a8e
Author: Marco Boss <bossm8@bfh.ch>
AuthorDate: Tue May 10 08:39:35 2022 +0200

    make batch withdrawal configurable in benchmarks
---
 packages/taler-wallet-cli/src/bench1.ts | 3 ++-
 packages/taler-wallet-cli/src/bench3.ts | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/packages/taler-wallet-cli/src/bench1.ts 
b/packages/taler-wallet-cli/src/bench1.ts
index d7c35136..f64bf750 100644
--- a/packages/taler-wallet-cli/src/bench1.ts
+++ b/packages/taler-wallet-cli/src/bench1.ts
@@ -64,6 +64,7 @@ export async function runBench1(configJson: any): 
Promise<void> {
   } else {
     logger.info("not trusting exchange (validating signatures)");
   }
+  const batchWithdrawal = !!process.env["TALER_WALLET_BATCH_WITHDRAWAL"];
 
   let wallet = {} as Wallet;
   let getDbStats: () => AccessStats;
@@ -88,7 +89,7 @@ export async function runBench1(configJson: any): 
Promise<void> {
       if (trustExchange) {
         wallet.setInsecureTrustExchange();
       }
-      wallet.setBatchWithdrawal(true);
+      wallet.setBatchWithdrawal(batchWithdrawal);
       await wallet.client.call(WalletApiOperation.InitWallet, {});
     }
 
diff --git a/packages/taler-wallet-cli/src/bench3.ts 
b/packages/taler-wallet-cli/src/bench3.ts
index 1d3c86cd..6041c525 100644
--- a/packages/taler-wallet-cli/src/bench3.ts
+++ b/packages/taler-wallet-cli/src/bench3.ts
@@ -71,6 +71,7 @@ export async function runBench3(configJson: any): 
Promise<void> {
   } else {
     logger.info("not trusting exchange (validating signatures)");
   }
+  const batchWithdrawal = !!process.env["TALER_WALLET_BATCH_WITHDRAWAL"];
 
   let wallet = {} as Wallet;
   let getDbStats: () => AccessStats;
@@ -95,7 +96,7 @@ export async function runBench3(configJson: any): 
Promise<void> {
       if (trustExchange) {
         wallet.setInsecureTrustExchange();
       }
-      wallet.setBatchWithdrawal(true);
+      wallet.setBatchWithdrawal(batchWithdrawal);
       await wallet.client.call(WalletApiOperation.InitWallet, {});
     }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]