Module darkfi_sdk::blockchain
source · Expand description
Blockchain structures
Functions§
- Auxiliary function to calculate provided block height epoch. Each epoch is defined by the fixed intervals rewards change. Genesis block is on epoch 0.
- Auxiliary function to calculate provided block height block version. Currently, a single version(1) exists.
- Auxiliary function to calculate provided block height expected reward value.