@ -11,3 +11,9 @@ def check(data, proof, complexity=1, f=hashlib.sha256):
else:
break
return b>=complexity
def mine(data, complexity=1, f=hashlib.sha256):
for a in range(0, 1000000000):
if check(data, a, complexity, f):
return a
The note is not visible to the blocked user.