diff options
Diffstat (limited to 'src/crypto/cryptoApi.ts')
-rw-r--r-- | src/crypto/cryptoApi.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/crypto/cryptoApi.ts b/src/crypto/cryptoApi.ts index c1f3f4245..03c2a675b 100644 --- a/src/crypto/cryptoApi.ts +++ b/src/crypto/cryptoApi.ts @@ -41,6 +41,7 @@ import { } from "../talerTypes"; import { + BenchmarkResult, CoinWithDenom, PayCoinInfo, } from "../walletTypes"; @@ -323,4 +324,10 @@ export class CryptoApi { newCoinDenoms, meltFee); } + + benchmark(repetitions: number): Promise<BenchmarkResult> { + return this.doRpc<BenchmarkResult>("benchmark", + 1, + repetitions); + } } |