Constants§
- ASSOCIATED_
TOKEN_ PROGRAM_ ID - CONFIG_
SEED - PDA seeds.
- EMISSION_
PER_ MINUTE - Emission: 10 tokens per minute.
- INITIAL_
BASE_ WEIGHT - Initial base weight (free tier) in native token units. Denominated purely in tokens: each 1 token of balance = +1% power over the base (100 tokens = 2×). Tuned via update_config.
- INITIAL_
MIN_ DIFFICULTY - Initial minimum hash difficulty (leading zero bits). 20 bits ≈ 1M hashes: a few seconds on a desktop, a dozen or so on a weak CPU. Proof-of-liveness is meant to take a moment, not be a race.
- INITIAL_
ROUND_ SECONDS - Initial round length in seconds (lives in Config, tunable via update_config, from an “ORE feel” cadence to a frugal one).
- MAX_
ROUND_ SECONDS - MINER_
SEED - MIN_
ROUND_ SECONDS - Round length bounds for update_config.
- ONE_
TOKEN - One token in native units.
- ROUND_
RETENTION - How many rounds back Round accounts are kept before they can be closed (rent recovery: the crank closes old rounds and recycles the float). 2880 rounds × 60 s = 2 days to settle a reward at launch settings.
- ROUND_
SEED - SLOT_
HASHES_ SYSVAR_ ID - SPL_
TOKEN_ MINT_ TO_ IX - MintTo instruction index in the SPL Token program.
- SPL_
TOKEN_ PROGRAM_ ID - External programs (canonical addresses).
- SYSTEM_
PROGRAM_ ID - TOKEN_
DECIMALS - Token decimal places.
- TREASURY_
SEED
Functions§
- round_
budget - Round budget for a given length: 10 tokens/min pro-rata. A round with no submissions = the emission lapses (nothing is minted).