solveChallenge method
Implementation
int solveChallenge([int step = 100, void Function(int hashPropagated)? callback]){
int? solvedRst;
while(solvedRst == null){
solvedRst = propagate(step);
if(callback != null){
callback(_nextNonce);
}
}
return solvedRst;
}