]> zoso.dev Git - nano-pow.git/commit
Set up for v4
authorChris Duncan <chris@zoso.dev>
Thu, 20 Mar 2025 21:56:55 +0000 (14:56 -0700)
committerChris Duncan <chris@zoso.dev>
Thu, 20 Mar 2025 21:56:55 +0000 (14:56 -0700)
commitd682c1a646947d07874b1a6da68e41af88124687
tree19e75b0a4863be602c3173977bb4273d864f0f33
parent71d956dcb2b2b4ea1014d86b772bd0833597cf97
Set up for v4
Add two new methods which align with Nano node RPC actions. Return more data from hash result. Indicate a more specific `threshold` by passing a full 16-character string to the new `work_` methods. Changed `NanoPowGl.size` property to return total pixel count. Add typings for request and response objects consumed by new `work_` methods. Add more tests for receive threshold edge cases. Improve build process. Expand documentation.
17 files changed:
.gitignore
CHANGELOG.md
esbuild.mjs
package-lock.json
package.json
src/bin/cli.ts [moved from src/bin/cli.js with 96% similarity]
src/lib/gl/gl-downsample.frag [moved from src/lib/gl/gl-downsample.ts with 93% similarity]
src/lib/gl/gl-draw.frag [moved from src/lib/gl/gl-draw.ts with 94% similarity]
src/lib/gl/gl-vertex.ts [deleted file]
src/lib/gl/gl-vertex.vert [new file with mode: 0644]
src/lib/gl/index.ts
src/lib/gpu/compute.wgsl
src/lib/gpu/index.ts
src/main.ts
src/types.d.ts
test/blockhashes.txt
test/index.html