propagate method
Propagates hash trial Returns solution if a solution is found, otherwise returns null Also stores solution into _solution, to serve the solution getter.
Implementation
int? propagate(int numToPropagate){
int? solveRst = trySolveChallenge(challengeInfo, _nextNonce, _nextNonce + numToPropagate);
if(solveRst != null){
_nextNonce = solveRst + 1;
}else{
_nextNonce += numToPropagate;
}
if(solveRst != null){
_solution = solveRst;
}
return solveRst;
}