You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Number of blob IDs requested per DA `Get` call when the node retrieves blocks from the DA layer. Smaller batches help unreliable DA RPC endpoints return data before the per-request timeout, while larger batches reduce the total number of round trips for fast DA nodes.
497
+
498
+
**YAML:**
499
+
500
+
```yaml
501
+
da:
502
+
retrieve_batch_size: 100
503
+
```
504
+
505
+
**Command-line Flag:**
506
+
`--rollkit.da.retrieve_batch_size <int>`
507
+
_Example:_ `--rollkit.da.retrieve_batch_size 50`
508
+
_Default:_ `100`
509
+
_Constant:_ `FlagDARetrieveBatchSize`
510
+
511
+
### DA Request Timeout
512
+
513
+
**Description:**
514
+
Per-request timeout applied to DA `GetIDs` and `Get` RPC calls while retrieving blobs. Increase this value if your DA endpoint has high latency to avoid premature failures; decrease it to make the syncer fail fast and free resources sooner when the DA node becomes unresponsive.
515
+
516
+
**YAML:**
517
+
518
+
```yaml
519
+
da:
520
+
request_timeout: "30s"
521
+
```
522
+
523
+
**Command-line Flag:**
524
+
`--rollkit.da.request_timeout <duration>`
525
+
_Example:_ `--rollkit.da.request_timeout 45s`
526
+
_Default:_ `"30s"`
527
+
_Constant:_ `FlagDARequestTimeout`
528
+
493
529
## P2P Configuration (`p2p`)
494
530
495
531
Settings for peer-to-peer networking, enabling nodes to discover each other, exchange blocks, and share transactions.
MempoolTTLuint64`mapstructure:"mempool_ttl" yaml:"mempool_ttl" comment:"Number of DA blocks after which a transaction is considered expired and dropped from the mempool. Controls retry backoff timing."`
166
168
MaxSubmitAttemptsint`mapstructure:"max_submit_attempts" yaml:"max_submit_attempts" comment:"Maximum number of attempts to submit data to the DA layer before giving up. Higher values provide more resilience but can delay error reporting."`
167
169
RetrieveBatchSizeint`mapstructure:"retrieve_batch_size" yaml:"retrieve_batch_size" comment:"Number of IDs to request per DA Get call when retrieving blobs. Smaller batches lower per-request latency; larger batches reduce the number of RPC round trips. Default: 100."`
170
+
RequestTimeoutDurationWrapper`mapstructure:"request_timeout" yaml:"request_timeout" comment:"Per-request timeout applied to DA GetIDs/Get calls when retrieving blobs. Larger values tolerate slower DA nodes at the cost of waiting longer before failing. Default: 30s."`
168
171
}
169
172
170
173
// GetNamespace returns the namespace for header submissions.
0 commit comments