Crate drillx

source ·

Re-exports§

Structs§

  • The result of a drillx hash
  • A drillx solution which can be efficiently validated on-chain

Enums§

Traits§

  • A data structure that can be deserialized from any data format supported by Serde.
  • A data structure that can be serialized into any data format supported by Serde.

Functions§

  • Returns the number of leading zeros on a 32 byte buffer.
  • Generates drillx hashes from a challenge and nonce using pre-allocated memory.
  • Generates a new drillx hash from a challenge and nonce.
  • Generates a new drillx hash from a challenge and nonce using pre-allocated memory.
  • Returns true if the digest if valid equihash construction from the challenge and nonce.
  • Concatenates a challenge and a nonce into a single buffer.

Derive Macros§