]> zoso.dev Git - nano-pow.git/commitdiff
Patch version. v4.1.6
authorChris Duncan <chris@zoso.dev>
Tue, 6 May 2025 21:49:26 +0000 (14:49 -0700)
committerChris Duncan <chris@zoso.dev>
Tue, 6 May 2025 21:49:26 +0000 (14:49 -0700)
CHANGELOG.md
package-lock.json
package.json

index 456d7edd92d6e5625a3177c2869cadfcf1f48401..8d27efd04c4518da2420e2fb9f741e943422aceb 100644 (file)
@@ -3,6 +3,46 @@ SPDX-FileCopyrightText: 2025 Chris Duncan <chris@zoso.dev>
 SPDX-License-Identifier: GPL-3.0-or-later
 -->
 
+## v4.1.6
+
+### Notable Changes
+
+#### Maximum difficulty
+
+While the Nano specification does not define a hard limit on the difficulty that
+can be requested from a `work_generate` call, values larger than the network
+send threshold `fffffff800000000` can very easily keep system busy indefinitely.
+This denial-of-service attack vector is now mitigated in NanoPow by restricting
+`work_generate` to the send threshold as its maximum.
+
+### Other Changes
+
+Refactor server to extract code into manageable helper functions, improve
+organization, and fix some minor issues.
+
+Merge shared code in GPU implementation work calls and extract it into modular
+functions.
+
+Extract some basic shared code into utils file and bundle it.
+
+Simplify lib exports.
+
+Introduce new typings for server config and PoW results.
+
+Clean up CLI and fix some minor issues.
+
+Limit Node heap to improve CLI and server performance.
+
+Implement work queue to better manage inbound requests.
+
+Fix nonce check in compute shader.
+
+Fix test page benchmark results from not being sorted properly.
+
+Update server test script.
+
+
+
 ## v4.1.5
 
 ### Notable Changes
index 7db0b83c6fdecf84eaada6072fd10c650482d175..ab3502abf156ebcf664d37e1a1c4b3a2a818e127 100644 (file)
@@ -1,12 +1,12 @@
 {
        "name": "nano-pow",
-       "version": "4.1.5",
+       "version": "4.1.6",
        "lockfileVersion": 3,
        "requires": true,
        "packages": {
                "": {
                        "name": "nano-pow",
-                       "version": "4.1.5",
+                       "version": "4.1.6",
                        "license": "(GPL-3.0-or-later AND MIT)",
                        "bin": {
                                "nano-pow": "dist/bin/nano-pow.sh"
index 7690d406407f368b3fbe3f4e5d2b3a3d04bbb224..0545a1163c3e015def86ffbd1b1755d386d1f3ce 100644 (file)
@@ -1,6 +1,6 @@
 {
        "name": "nano-pow",
-       "version": "4.1.5",
+       "version": "4.1.6",
        "description": "Proof-of-work generation and validation with WebGPU/WebGL for Nano cryptocurrency.",
        "keywords": [
                "nemo",