Expand description
Basic types used by the v1 client puzzle
Macros§
- impl_
readable_ 🔒writeable_ newtype - Generate
ReadableandWriteableimplementations for trivial newtype wrappers
Structs§
- Effort
- Effort setting, a u32 value with linear scale
- Instance
- One instance of this proof-of-work puzzle
- Nonce
- Generated randomly by solvers and included in the solution
- Seed
- The random portion of a challenge, distributed through HsDir
- Seed
Head - A short seed prefix used in solutions to reference the complete seed
- Solution
- One potential solution to some puzzle
Instance
Enums§
- Parse
Seed Error - Error when converting a string to a
Seed.
Constants§
- NONCE_
LEN - Length of the nonce value generated by clients and included in the solution
- SEED_
HEAD_ LEN - Length of a seed prefix used to identify the entire seed
- SEED_
LEN - Length of the random seed generated by servers and included in HsDir