User avatar
illy [Shrimple-mode] protomoji_orange_flag_lesbian @illyBytes@shrimp.imsofucking.gay
1mo
this port is based on the cpumine.py file
all it basically everything wrong lmao

so basic structure of how anubis works (from what i understand, i am an idiot and i could be wrong, plus this is mostly based on offload's code lol):

anubis: here's a challenge value [512]u8 (the only examples shown in offload's repo's) and a difficulty, and a nonce (seems to be unused??)

client: (pseudo code)
i = 0
while true
  hash = hasher(challenge + i).hex
  if hash.startswith(difficulty * "0")
    return i
  i++



for some reason offloadd has startwith checks that like exactly the same but work on diff representations of digest

+ their multithreading is broken and just waits for all processes to finish instead of killing the group once atleast 1 finishes lol
1
0
1
0