mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 01:52:26 -05:00
[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:
parent
c15002d76e
commit
211192c482
7 changed files with 184 additions and 113 deletions
|
|
@ -21,8 +21,7 @@
|
|||
<main>
|
||||
<section class="nollamas"
|
||||
data-nollamas-challenge="{{ .challenge }}"
|
||||
data-nollamas-difficulty1="{{ .difficulty1 }}"
|
||||
data-nollamas-difficulty2="{{ .difficulty2 }}"
|
||||
data-nollamas-difficulty="{{ .difficulty }}"
|
||||
>
|
||||
<h1>Checking you're not a creepy crawler...</h1>
|
||||
<noscript>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue