Modules§

Structs§

Traits§

Type Aliases§

  • This HashMap skips the hashing of the key and uses the key directly as the hash. Should only be used for block hashes that have correct DAA, otherwise it is susceptible to DOS attacks via hash collisions.
  • Same as BlockHashMap but a HashSet.
  • Integer type for accumulated PoW of blue blocks. We expect no more than 2^128 work in a single block (btc has ~2^80), and no more than 2^64 overall blocks, so 2^192 is definitely a justified upper-bound.
  • Map from Block hash to K type
  • The type used to represent the GHOSTDAG K parameter