Skip to content

Commit

Permalink
Merge branch 'bundler' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobinstein committed Aug 9, 2024
2 parents ca87395 + 5931c7d commit be9f68a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/src/gateways/ar-io-node/bundler.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,11 @@ ANS104_UNBUNDLE_FILTER={ "attributes": { "owner_address": "$BUNDLER_ARWEAVE_ADDR
**NOTE**: The above filters must be placed in the `.env` file for the core gateway service, not the bundler.
Gateways handle data item indexing asynchronously. This means they establish a que of items to index, and work on processing the que in the background while the gateway continues with its normal operations. If a gateway has broad indexing filters, there can be some latency in indexing data items from the bundler while the gateway works through its que.
Gateways handle data item indexing asynchronously. This means they establish a queue of items to index, and work on processing the queue in the background while the gateway continues with its normal operations. If a gateway has broad indexing filters, there can be some latency in indexing data items from the bundler while the gateway works through its queue.
#### Optimistic Indexing
Gateway operators can prioritize indexing specific data items, putting them at the front of the que. The bundler service can submit data items for prioritized indexing on their associated gateway.
Only gateway operators are able to prioritize indexing, so an admin key is required for the request to be successful. This key should be made available in the environmental files for BOTH the core gateway, and the bundler, and should be provided as `AR_IO_ADMIN_KEY`:
Gateway operators control access to their [optimistic data item indexing](../../glossary.md#optimistic-indexing) API via an admin key that must be supplied by all bundling clients in order for their requests to be accepted. This key should be made available in the environment configuration files for BOTH the core gateway, and the bundler, and should be provided as `AR_IO_ADMIN_KEY`:
```bash
AR_IO_ADMIN_KEY="Admin password"
Expand Down
4 changes: 4 additions & 0 deletions docs/src/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ The way public addresses are commonly (or by spec) represented in their native b

A gateway selected to evaluate the performance of peer gateways in resolving ArNS names. Observers assess and report on the operational efficacy of other gateways.

## **Optimistic Indexing**:

Indexing transaction or data item headers before the associated L1 transaction has been accepted and confirmed in a chain block.

## **Owner**:

Generally, the public key of the signer.
Expand Down

0 comments on commit be9f68a

Please sign in to comment.