Oracle Update Interval
Pronunciation
[awr-uh-kl uhp-dayt in-ter-vuhl]
Analogy
Like a clock that chimes every hour, the update interval sets how often data is posted.
Definition
The configured time period between successive oracle data submissions to the blockchain, determining data freshness and gas expenditure rate.
Key Points Intro
Update intervals balance data timeliness with on‑chain cost.
Key Points
Frequency: Defined in seconds or block counts.
Cost trade‑off: Short intervals increase gas costs.
Staleness: Long intervals risk outdated data.
Governance: Adjustable via oracle DAO or config.
Example
A price feed runs at a 60‑second update interval, posting new median prices to the contract every minute.
Technical Deep Dive
Oracle job scheduler triggers `report()` if `block.timestamp – lastUpdate >= interval`. Contract sets `interval` in storage and emits `IntervalUpdated` on governance change.
Security Warning
Network congestion can delay updates; include slack in interval.
Caveat
Fixed intervals may misalign with market volatility spikes; consider dynamic intervals.
Oracle Update Interval - Related Articles
No related articles for this term.