Structs§
- Challenge
- Represents a PoW challenge (the “puzzle”). This is sent to the client.
- Solution
- Represents the solution to a PoW challenge, provided by the client.
Enums§
Functions§
- generate_
challenge - Generates a new PoW challenge to be sent to the client.
- solve_
challenge - Solves a given PoW challenge. This function is computationally intensive and is intended to be run on the client side.
- verify_
solution - Verifies a solution provided by a client.