@xyo-network/xl1-cli 5.7.2 → 5.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/dist/cli-min.mjs +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -804,7 +804,7 @@ One config per actor **process** — the shape a real multi-host deployment runs
|
|
|
804
804
|
| `rewardRedemption` | `chain-mongo` + `default-evm-rpc` + `rewardRedemption-wallet` | — | authority store + EVM staking contract |
|
|
805
805
|
|
|
806
806
|
- **One writer per bucket.** The finalizer owns `s3-finalized` + `s3-chain-state`; the indexer owns `s3-index`. No other actor writes the network's object storage; a mirror writes only its own target buckets.
|
|
807
|
-
- **Index add-ons
|
|
807
|
+
- **Index add-ons are actors of their own.** The `indexer` runs only the main index and, when bound, the EVM event and rewards passes. The slash tree and register mirror (`indexerSlash`), the license index (`indexerLicense`) and the payload-locator family (`indexerPayloads`) are separate actors, so they can share the indexer's process or live on other infrastructure. Each writes only its own prefix of `s3-index`; run each one in exactly one place. A standalone process that reads blocks over REST binds `BlockViewer`, `IndexViewer` and `ChainStateViewer` to their REST connections together: left alone, `IndexViewer` resolves in-process, which reads blocks, and planning reports the cycle. `indexerSlash` takes `floorBlock`, `pagesPerPass` and `syncInterval`; the license fold's bounds stay options of the `LicenseViewer` binding and the payloads pass bounds options of the `PayloadIndexPublishRunner` binding.
|
|
808
808
|
- **`BlockViewer` is not auto-bound to REST.** When a process declares a local store, `BlockViewer` defaults to it, so the API and indexer configs bind `BlockViewer → rest-finalized` explicitly to read finalized blocks from the CDN. `ChainStateViewer` / `IndexViewer` bind to their REST connections automatically when those connections are declared (the explicit bindings here are for clarity).
|
|
809
809
|
- **Staking and rewards.** `chain.id` is the staking contract address on the backing EVM. Event publishing binds `EvmChainViewer → default-evm-rpc` and `EvmEventIndexPublishRunner → s3-index`. Durable reward publishing additionally binds `NetworkStakeRewardsIndexPublishRunner → s3-index`, `StakeEventsViewer → rest-index`, and `StakeViewer → default-evm-rpc`. API processes bind `NetworkStakeStepRewardsByPositionViewer → rest-index` to read the resulting index without local cache priming.
|
|
810
810
|
- **Wallets.** Wallet connections (`<actor>-wallet`) and the `XyoSigner` binding are auto-synthesized for signing actors (`producer`, `bridge`, `rewardRedemption`); they are shown explicitly here for clarity. `bridge` and `rewardRedemption` cannot be co-located in one process (they share `XyoSigner`).
|
|
@@ -1397,11 +1397,9 @@ Per-bucket credentials override the shared defaults — e.g. give `s3-chain-stat
|
|
|
1397
1397
|
| Setting | Actor(s) | Default | Meaning |
|
|
1398
1398
|
|---|---|---|---|
|
|
1399
1399
|
| `publishOnFinalize` | `finalizer` | `false` | Push newly finalized blocks (head pointer last) to the `finalized` + `chainState` buckets immediately after each finalization pass. |
|
|
1400
|
-
| `publishSyncInterval` | `indexer` | `5000` | Milliseconds between index sync passes; each pass advances the XL1 and EVM source indexes, then publishes rewards when both durable heads are available.
|
|
1400
|
+
| `publishSyncInterval` | `indexer` | `5000` | Milliseconds between index sync passes; each pass advances the XL1 and EVM source indexes, then publishes rewards when both durable heads are available. |
|
|
1401
1401
|
| `publishContentEncoding` | `finalizer`, `indexer` | unset | Wire/storage encoding for published files: `br`, `gzip`, or `none`. |
|
|
1402
1402
|
| `publishProgressInterval` | `finalizer`, `indexer` | `100` | Publishes between progress log lines during a sync pass (runner default when unset). |
|
|
1403
|
-
| `slashIndexFloorBlock` | `indexer` | `0` | First height that can carry a slash payload. The slash index (`SlashIndexStore → s3-index`) starts here instead of at genesis, and a published head below it jumps to it; blocks below the floor are never read, so set it only where the history is known to carry none. |
|
|
1404
|
-
| `slashIndexPagesPerPass` | `indexer` | `10` | 100-block pages one slash-index pass reads before publishing `slash/v1/head.json` and yielding its timer. A longer catch-up continues next pass from the published head, so the first bind on a long chain is paid across passes and survives a restart. |
|
|
1405
1403
|
| `stallWarningMs` | `finalizer` | `60000` | Milliseconds one finalization pass may stay in flight before it is logged as stalled (an error naming the phase and the published head, repeated each period, plus a `finalizer_actor_pass_in_flight_ms` gauge). A hung publish holds finalization and the published head with it. |
|
|
1406
1404
|
|
|
1407
1405
|
**Environment-variable form** — `__` nests, and each screaming-snake segment maps to camelCase (`CHAIN_STATE` → `chainState`, `READ_URL` → `readUrl`):
|