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
Copy file name to clipboardExpand all lines: src/types/NodeConfig.generated.ts
+39-17Lines changed: 39 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
//
3
3
// THIS FILE IS AUTOMATICALLY GENERATED AND SHOULD NOT BE EDITED MANUALLY
4
4
//
5
-
// IMAGE: offchainlabs/nitro-node:v3.5.6-9a29a1e
6
-
// TIMESTAMP: 2025-04-24T07:55:35.504Z
5
+
// IMAGE: offchainlabs/nitro-node:v3.6.0-fc07dd2
6
+
// TIMESTAMP: 2025-04-30T12:27:36.604Z
7
7
//
8
8
// ---
9
9
/** Nitro node configuration options */
@@ -21,18 +21,16 @@ export type NodeConfig = {
21
21
port?: number;
22
22
};
23
23
'blocks-reexecutor'?: {
24
+
/** json encoded list of block ranges in the form of start and end block numbers in a list of size 2 (default "[[0,0]]") */
25
+
'blocks'?: string;
24
26
/** enables re-execution of a range of blocks against historic state */
25
27
'enable'?: boolean;
26
-
/** last block number of the block range for re-execution */
27
-
'end-block'?: number;
28
28
/** minimum number of blocks to execute per thread. When mode is random this acts as the size of random block range sample */
29
29
'min-blocks-per-thread'?: number;
30
30
/** mode to run the blocks-reexecutor on. Valid modes full and random. full - execute all the blocks in the given range. random - execute a random sample range of blocks with in a given range (default "random") */
31
31
'mode'?: string;
32
-
/** number of threads to parallelize blocks re-execution (default 20) */
32
+
/** number of threads to parallelize blocks re-execution (default 16) */
33
33
'room'?: number;
34
-
/** first block number of the block range for re-execution */
35
-
'start-block'?: number;
36
34
/** memory allowance (MB) to use for caching trie nodes in memory */
37
35
'trie-clean-limit'?: number;
38
36
};
@@ -122,6 +120,8 @@ export type NodeConfig = {
122
120
'trie-dirty-cache'?: number;
123
121
/** maximum block processing time before trie is written to hard-disk (default 1h0m0s) */
124
122
'trie-time-limit'?: string;
123
+
/** if greater then 0, the block processing time period of each trie write to hard-disk is shortened by a random value from range [0, trie-time-limit-random-offset) */
124
+
'trie-time-limit-random-offset'?: string;
125
125
};
126
126
/** enable prefetching of blocks (default true) */
/** maximum estimated compressed 4844 blob enabled batch size */
536
546
'max-4844-batch-size'?: number;
537
547
/** maximum batch posting delay (default 1h0m0s) */
538
548
'max-delay'?: string;
539
549
/** maximum empty batch posting delay, batch poster will only be able to post an empty batch if this time period building a batch has passed (default 72h0m0s) */
540
550
'max-empty-batch-delay'?: string;
541
551
/** maximum estimated compressed batch size (default 100000) */
/** account to use (default is first account in keystore) */
545
557
'account'?: string;
@@ -580,10 +592,12 @@ export type NodeConfig = {
580
592
'wait-for-max-delay'?: boolean;
581
593
};
582
594
'block-metadata-fetcher'?: {
583
-
/** maximum number of blocks allowed to be queried for blockMetadata per arb_getRawBlockMetadata query. */
595
+
/** maximum number of blocks per arb_getRawBlockMetadata query (default 100) */
584
596
'api-blocks-limit'?: number;
585
-
/** enable syncing blockMetadata using a bulk blockMetadata api. If the source doesn't have the missing blockMetadata, we keep retyring in every sync-interval (default=5mins) duration */
597
+
/** enable syncing blockMetadata using a bulk blockMetadata api */
586
598
'enable'?: boolean;
599
+
/** maximum time between blockMetadata requests (default 32m0s) */
600
+
'max-sync-interval'?: string;
587
601
'source'?: {
588
602
/** limit size of arguments in log entries (default 2048) */
589
603
'arg-log-limit'?: number;
@@ -604,7 +618,7 @@ export type NodeConfig = {
604
618
/** websocket message size limit used by the RPC client. 0 means no limit (default 268435456) */
605
619
'websocket-message-size-limit'?: number;
606
620
};
607
-
/** interval at which blockMetadata are synced regularly (default 5m0s) */
621
+
/** minimum time between blockMetadata requests (default 1m0s) */
608
622
'sync-interval'?: string;
609
623
};
610
624
'block-validator'?: {
@@ -628,7 +642,7 @@ export type NodeConfig = {
628
642
'memory-free-limit'?: string;
629
643
/** pending upgrade wasm module root to additionally validate (hash, 'latest' or empty) (default "latest") */
630
644
'pending-upgrade-module-root'?: string;
631
-
/** record that many blocks ahead of validation (larger footprint) (default 40) */
645
+
/** record that many blocks ahead of validation (larger footprint) (default 32) */
632
646
'prerecorded-blocks'?: number;
633
647
/** limit on block recordings sent per iteration (default 20) */
634
648
'recording-iter-limit'?: number;
@@ -704,14 +718,14 @@ export type NodeConfig = {
704
718
/** enable delegated staking by having the validator call newStake on startup */
705
719
'enable'?: boolean;
706
720
};
707
-
/** enable bold challenge protocol */
708
-
'enable'?: boolean;
709
721
/** enable fast confirmation */
710
722
'enable-fast-confirmation'?: boolean;
711
723
/** maximum size for chunk of blocks when using get logs rpc (default 5000) */
712
724
'max-get-log-blocks'?: number;
713
725
/** minimum duration to wait since the parent assertion was created to post a new assertion (default 1m0s) */
714
726
'minimum-gap-to-parent-assertion'?: string;
727
+
/** the average block time of the parent chain where assertions are posted (default 12s) */
728
+
'parent-chain-block-time'?: string;
715
729
/** define the block number to use for reading data onchain, either latest, safe, or finalized (default "finalized") */
716
730
'rpc-block-number'?: string;
717
731
/** assume staked nodes are valid (default true) */
@@ -729,6 +743,10 @@ export type NodeConfig = {
729
743
/** only track challenges/edges with these parent assertion hashes */
/** Interval in which finality data is pushed from consensus to execution (default 1s) */
748
+
'sync-interval'?: string;
749
+
};
732
750
'dangerous'?: {
733
751
/** DANGEROUS! disables the EIP-4844 blob reader, which is necessary to read batches */
734
752
'disable-blob-reader'?: boolean;
@@ -1099,6 +1117,8 @@ export type NodeConfig = {
1099
1117
'min-tip-cap-gwei'?: number;
1100
1118
/** the maximum probable reorg depth, used to determine when a transaction will no longer likely need replaced-by-fee (default 1) */
1101
1119
'nonce-rbf-soft-confs'?: number;
1120
+
/** if the parent chain supports 4844 blobs and they're well priced, post EIP-4844 blobs */
1121
+
'post-4844-blobs'?: boolean;
1102
1122
'redis-signer'?: {
1103
1123
'dangerous'?: {
1104
1124
/** disable message signature verification */
@@ -1178,7 +1198,9 @@ export type NodeConfig = {
1178
1198
'max-broadcaster-queue-size'?: number;
1179
1199
/** maximum number of messages to attempt to resequence on reorg (0 = never resequence, -1 = always resequence) (default 1024) */
1180
1200
'max-reorg-resequence-depth'?: number;
1181
-
/** this is the block number starting from which blockmetadata is being tracked in the local disk and is being published to the feed. This is also the starting position for bulk syncing of missing blockmetadata. Setting to zero (default value) disables this */
1201
+
/** node will not sync past this block */
1202
+
'sync-till-block'?: number;
1203
+
/** block number to start saving blockmetadata, 0 to disable */
1182
1204
'track-block-metadata-from'?: number;
1183
1205
};
1184
1206
};
@@ -1274,7 +1296,7 @@ export type NodeConfig = {
1274
1296
/** minimum duration in microseconds between syncs of the WAL. If WAL syncs are requested faster than this interval, they will be artificially delayed. */
1275
1297
'wal-min-sync-interval'?: number;
1276
1298
};
1277
-
/** maximum number of concurrent compactions (default 20) */
1299
+
/** maximum number of concurrent compactions (default 16) */
1278
1300
'max-concurrent-compactions'?: number;
1279
1301
/** if true sync mode is used (data needs to be written to WAL before the write is marked as completed) */
0 commit comments