Module policy

Source

Structs§

BLOCK_TARGET_MAX
The highest (easiest) block PoW target.

Constants§

BLOCK_TIME
Targeted block time in seconds.
DIFFICULTY_BLOCK_WINDOW
Number of blocks we take into account to calculate next difficulty.
DIFFICULTY_MAX_ADJUSTMENT_FACTOR
Limits the rate at which the difficulty is adjusted min/max.
TOTAL_SUPPLY
Total supply in satoshis.
TRANSACTION_VALIDITY_WINDOW
Number of blocks a transaction is valid.

Functions§

block_reward_at