]> zoso.dev Git - nano-pow.git/commit
Ignore all arguments when starting server and use envvars instead. Read NANO_POW_EFFO...
authorChris Duncan <chris@zoso.dev>
Wed, 26 Mar 2025 15:04:11 +0000 (08:04 -0700)
committerChris Duncan <chris@zoso.dev>
Wed, 26 Mar 2025 15:04:11 +0000 (08:04 -0700)
commit0342cd98c6a738f2406834758f392016a4c52d90
tree1fd7fee2dae5e9fc73dd7d029c203c61979077fa
parent8f624830e11f3c9ec87f82cb2860b30b34773b40
Ignore all arguments when starting server and use envvars instead. Read NANO_POW_EFFORT from environment when starting server. Update test script to use port 3001 to test custom value. Pass NanoPowOptions object into puppeteer evaluate calls. Update README to use destructuring assignment for output clarity and to use new method names. Add more command line guidance to README. Fix default effort used by server to match the actual implementation and fix README accordingly. Add --server documentation to manual. Fix threshold/difficulty ranges throughout documentation and remove mention of u32 threshold workaround from README. Whitespace.
README.md
docs/index.js
docs/nano-pow.1
src/bin/cli.ts
src/bin/nano-pow.sh
src/bin/server.ts
test/script.sh