Expand description
Types utilities.
Modules§
- merkle_
mountain_ range - Types for variable difficulty Merkle Mountain Range (MMR) in CKB.
Structs§
- Merge
Byte32 - TODO(doc): @quake
Constants§
- DIFF_
TWO - The minimal difficulty that can be represented in the compact format.
Traits§
- Filter
Data Provider - Provides data for building block filter data.
Functions§
- build_
filter_ data - Builds filter data for transactions.
- calc_
filter_ hash - Calculates a block filter hash.
- compact_
to_ difficulty - Converts compact format of difficulty to the decoded difficulty.
- compact_
to_ target - Converts compact format of difficulty to PoW target.
- difficulty_
to_ compact - Converts difficulty into the compact format.
- merkle_
root - TODO(doc): @quake
- target_
to_ compact - Converts PoW target into compact format of difficulty.
Type Aliases§
- CBMT
- TODO(doc): @quake
- Merkle
Proof - TODO(doc): @quake