[chore] more NoLLaMas proof-of-work tweaking (#4096)

- replaces the sha256 calculation with an alternative implementation that seems to use more uniform time-taken across different platforms
- goes back to the simpler difficulty calculation without a "partial" difficulty level

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4096
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
This commit is contained in:
kim 2025-05-03 16:45:25 +00:00 committed by kim
commit 211192c482
7 changed files with 184 additions and 113 deletions

View file

@ -1,3 +1,4 @@
node_modules
prism.js
prism.css
prism.css
nollamasworker/sha256.js