From b36d176ab19c42f84443c812b29cb81233b8d9ef Mon Sep 17 00:00:00 2001 From: Henry Tsai Date: Tue, 16 Jan 2024 15:05:39 -0800 Subject: [PATCH] Added comment --- src/registration/proof-of-work.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/registration/proof-of-work.ts b/src/registration/proof-of-work.ts index a1b53a1..5d7d691 100644 --- a/src/registration/proof-of-work.ts +++ b/src/registration/proof-of-work.ts @@ -52,6 +52,8 @@ export class ProofOfWork { /** * Finds a response nonce that qualifies the difficulty requirement for the given proof-of-work challenge and request data. + * NOTE: mainly for demonstrating the procedure to find a qualified response nonce. + * Will need to artificially introduce asynchrony to allow other tasks to run if this method is to be used in a real-world client. */ public static findQualifiedResponseNonce(input: { maximumAllowedHashValue: string;