]> zoso.dev Git - libnemo.git/commitdiff
Tweak comment.
authorChris Duncan <chris@zoso.dev>
Fri, 13 Dec 2024 22:14:26 +0000 (14:14 -0800)
committerChris Duncan <chris@zoso.dev>
Fri, 13 Dec 2024 22:14:26 +0000 (14:14 -0800)
src/lib/workers/pow.ts

index 567843332239fc972f21eef4dc68f7a4b47193ee..11fc25ac7648bd45fdc32c3b9e4ad690a58e7807 100644 (file)
@@ -3,7 +3,8 @@
 
 export class Pow {
        static SEND_THRESHOLD = '0xfffffff8'
-       static WORKLOAD: number = 256 * 4               // must be a multiple of 256
+       /** Used to set canvas size. Must be a multiple of 256. */
+       static WORKLOAD: number = 256 * 4
 
        static async find (hash: string, threshold: string = this.SEND_THRESHOLD): Promise<string> {
                return new Promise<string>(resolve => {