Crate vapash[][src]

Structs

NodeCacheBuilder
ProofOfWork

Computation result

SeedHashCompute
VapashManager

Light/Full cache manager.

Constants

VAPASH_EPOCH_LENGTH

Functions

boundary_to_difficulty

Convert an Vapash boundary to its original difficulty. Basically just f(x) = 2^256 / x.

difficulty_to_boundary

Convert an Vapash difficulty to the target boundary. Basically just f(x) = 2^256 / x.

quick_get_difficulty

Difficulty quick check for POW preverification

slow_hash_block_number