Blockchain mining principles