Module breez_sdk_core::bitcoin::blockdata::constants

Expand description

Blockdata constants.

This module provides various constants relating to the blockchain and consensus code. In particular, it defines the genesis block and its single transaction.

Structs§

  • The uniquely identifying hash of the target blockchain.

Constants§

Functions§

  • Constructs and returns the genesis block
  • The maximum value allowed in an output (useful for sanity checking, since keeping everything below this value should prevent overflows if you are doing anything remotely sane with monetary values).
  • In Bitcoind this is insanely described as ~((u256)0 >> 32)