Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Explain why activeDataFeed() index inconsistency is not an issue when…
Browse files Browse the repository at this point in the history
… AirseekerRegistry owner is Api3MarketV2
  • Loading branch information
bbenligiray committed Oct 18, 2024
1 parent 47c1606 commit bec4f32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/contracts/api3-server-v1/airseekerregistry.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ The first of these multicalls includes an `activeDataFeedCount()` call, which te

In the case that the active data feeds change (in that they become activated/deactivated) while Airseeker is making these multicalls, Airseeker may fetch the same feed in two separate batches, or miss a data feed.
This is deemed acceptable, assuming that active data feeds will not change very frequently and Airseeker will run its update loop very frequently (meaning that any missed data feed will be handled on the next iteration.)
For example, if the owner of an AirseekerRegistry is an [Api3MarketV2](./api3marketv2.md), active data feeds would only change through the purchases and expiration of subscriptions, which are sufficiently throttled.

Let us go over what `activeDataFeed()` returns.

Expand Down

0 comments on commit bec4f32

Please sign in to comment.