what is pi in mining process