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
- Deserialize
- A data structure that can be deserialized from any data format supported
by Serde.
- Serialize
- A data structure that can be serialized into any data format supported
by Serde.
- 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.
- Deserialize
- Serialize