Skip to main content

Module types

Module types 

Source
Expand description

Basic types used by the v1 client puzzle

Macros§

impl_readable_writeable_newtype 🔒
Generate Readable and Writeable implementations 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
SeedHead
A short seed prefix used in solutions to reference the complete seed
Solution
One potential solution to some puzzle Instance

Enums§

ParseSeedError
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