bdk_chain::bitcoin

Module pow

Expand description

Proof-of-work related integer types.

Provides the Work and Target types that are used in proof-of-work calculations. The functions here are designed to be fast, by that we mean it is safe to use them to check headers.

Structsยง

  • Encoding of 256-bit target as 32-bit float.
  • A 256 bit integer representing target.
  • A 256 bit integer representing work.