Crate drillx
Source pub use equix;
- Hash
- The result of a drillx hash
- Solution
- A drillx solution which can be efficiently validated on-chain
- DrillxError
- difficulty
- Returns the number of leading zeros on a 32 byte buffer.
- hash
- Generates a new drillx hash from a challenge and nonce.
- hash_with_memory
- Generates a new drillx hash from a challenge and nonce using pre-allocated memory.
- hashes_with_memory
- Generates drillx hashes from a challenge and nonce using pre-allocated memory.
- is_valid_digest
- Returns true if the digest if valid equihash construction from the challenge and nonce.
- seed
- Concatenates a challenge and a nonce into a single buffer.