From 2eb865cb955b9c0c5f17764a15bdd56067e9b6cb Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 11 Jan 2025 23:50:19 -0800 Subject: [PATCH] Reduce test count to a more reasonable number for a default run. Add some text to show user which lib is being tested. Tweak JSdoc. --- src/classes/gpu.ts | 2 +- test.html | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/classes/gpu.ts b/src/classes/gpu.ts index a2923fd..6da7396 100644 --- a/src/classes/gpu.ts +++ b/src/classes/gpu.ts @@ -138,7 +138,7 @@ export class NanoPowGpu { /** * Validates that a nonce satisfies Nano proof-of-work requirements. * - * @param {string} work - Hexadecimal proof-of-work value + * @param {string} work - Hexadecimal proof-of-work value to validate * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts * @param {number} [threshold=0xfffffff8] - Difficulty of proof-of-work calculation */ diff --git a/test.html b/test.html index ffe3bca..6dd409f 100644 --- a/test.html +++ b/test.html @@ -13,7 +13,7 @@ SPDX-License-Identifier: GPL-3.0-or-later