rust-yespower 0.2.0

Tidecoin yespower proof-of-work hashing.
Documentation
  • Coverage
  • 80%
    4 out of 5 items documented0 out of 2 items with examples
  • Size
  • Source code size: 79.02 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 167.45 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 43s Average build duration of successful builds.
  • all releases: 35s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • yarsawyer/rust-yespower
    0 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • yarsawyer

Tidecoin yespower proof-of-work hashing.

This crate exposes the Tidecoin pre-AuxPoW mining hash:

  • yespower 1.0
  • N = 2048
  • r = 8
  • no personalization
  • input: serialized pure 80-byte Tidecoin block header
  • output: 32-byte mining hash

The public Rust API is intentionally small and works without default features. The crate builds the vendored yespower C implementation with Cargo's cc build pipeline and does not run bindgen at build time.

let header = [0u8; rust_yespower::TIDECOIN_HEADER_LEN];
let hash = rust_yespower::tidecoin_hash(&header)?;
# Ok::<(), rust_yespower::Error>(())

The Rust wrapper is MIT licensed. The vendored yespower C implementation is BSD-2-Clause licensed; crate metadata declares both licenses.