From: Chris Duncan Date: Sun, 12 Jan 2025 07:50:19 +0000 (-0800) Subject: Reduce test count to a more reasonable number for a default run. Add some text to... X-Git-Tag: v1.1.0~3 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=2eb865cb955b9c0c5f17764a15bdd56067e9b6cb;p=nano-pow.git 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. --- 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