QueueConfig
Central configuration account for a job queue
The QueueConfig account stores all configuration for a single IronQ queue.
Seeds: ["queue", authority] — one queue per authority wallet.
Fields
| Field | Type | Description |
|---|---|---|
authority | Pubkey | Queue owner — can update config and pause |
reward_mint | Pubkey | SPL token used for rewards and staking (immutable after creation) |
arbiter | Pubkey | Designated dispute resolver |
vault | Pubkey | PDA token account holding stakes + rewards |
min_worker_stake | u64 | Minimum tokens a worker must stake to register |
job_timeout | i64 | Seconds after claim before a job can be expired |
slash_rate_bps | u16 | Basis points (0–10000) of stake slashed on failure |
crank_reward_bps | u16 | Basis points (0–10000) of slash paid to cranker |
total_jobs_created | u64 | Monotonic job counter (used in Job PDA seeds) |
total_active_workers | u32 | Count of currently registered workers |
max_concurrent_jobs | u8 | Max jobs a worker can hold simultaneously |
is_paused | bool | Pause flag — blocks new jobs and claims |
Notes
- The
reward_mintcannot be changed after creation. Changing it would orphan existing vault funds. Create a new queue for a different token. max_concurrent_jobsis snapshotted into each Worker PDA at registration time.- When
is_pausedis true,create_jobandclaim_jobare blocked but other lifecycle operations (submit, approve, dispute, crank) still work.