Duinolib Functions Library with the implementation of the DUINO-S1 algorithm long mine_duinos1(char* last, char* excepted, int diff) The function takes the last hash, expected hash and difficulty. Return a nonce.