proof-of-work validation