fe.settings:getUserBoardSettings - non array given[kc] - Endchan Magrathea
 >>/39653/
The proof of work on Kohlchan does not have any monetary value nor will it be executed without the explicit approval of the user.

https://kohlchan.net/.static/src/js/hashcash.js
https://kohlchan.net/.static/src/js/hashcash_worker.js

That function in particular is relevant:


async function guessHash(payload, first, max, onSuccess) {
  for (var cur = first; cur  max) {
      alert("hashcash failure");
      return;
    }
    postMessage({
      'event': 'progress',
      'value': (cur-first)
    });
    var str = cur.toString();
    var ok = await argon2
      .verify({
        pass: str,
        encoded: payload
      })
      .then(() => {
        return true;
      })
      .catch(e => {
        return false;
      });
    if (ok) {
      onSuccess(cur);
      return;
    }
  }
};


inb4 I can't read code, I'm a nigger.

Yeah, then stop making shit up. It's embarrassing.