Created
March 28, 2018 09:16
-
-
Save josemmo/5b7b2107b98bd5abe7dca6c6144bbc35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void mine() { | |
while (!isValidHash()) { | |
nonce++; | |
recalculateHash(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment