@@ -8,14 +8,14 @@ default = "info"
88go-type = " LogLevel"
99description = """
1010One of "debug", "info", "warn", "error"."""
11- used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" ]
11+ used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " prt " ]
1212
1313[logging .CARTESI_LOG_COLOR ]
1414default = " true"
1515go-type = " bool"
1616description = """
1717If set to true, the node will add colors to its log output."""
18- used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" ]
18+ used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " prt " ]
1919
2020#
2121# Features
@@ -33,7 +33,7 @@ default = "true"
3333go-type = " bool"
3434description = """
3535If set to false, the node will not submit claims (reader mode)."""
36- used-by = [" claimer" , " node" ]
36+ used-by = [" claimer" , " node" , " prt " ]
3737
3838[features .CARTESI_FEATURE_INSPECT_ENABLED ]
3939default = " true"
@@ -82,12 +82,19 @@ description = """
8282How many seconds the node will wait before querying the database for new claims."""
8383used-by = [" claimer" , " node" ]
8484
85+ [rollups .CARTESI_PRT_POLLING_INTERVAL ]
86+ default = " 3"
87+ go-type = " Duration"
88+ description = """
89+ How many seconds the node will wait before trying to finish epochs for all applications."""
90+ used-by = [" prt" , " node" ]
91+
8592[rollups .CARTESI_MAX_STARTUP_TIME ]
8693default = " 15"
8794go-type = " Duration"
8895description = """
8996How many seconds the node expects services take initializing before aborting."""
90- used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" ]
97+ used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " prt " ]
9198
9299#
93100# Blockchain
@@ -97,13 +104,13 @@ used-by = ["advancer", "claimer", "evmreader", "validator", "jsonrpc", "node"]
97104go-type = " uint64"
98105description = """
99106An unique identifier representing a blockchain network."""
100- used-by = [" evmreader" , " claimer" , " node" ]
107+ used-by = [" evmreader" , " claimer" , " node" , " prt " ]
101108
102109[blockchain .CARTESI_BLOCKCHAIN_HTTP_ENDPOINT ]
103110go-type = " URL"
104111description = """
105112HTTP endpoint for the blockchain RPC provider."""
106- used-by = [" evmreader" , " claimer" , " node" ]
113+ used-by = [" evmreader" , " claimer" , " node" , " prt " ]
107114
108115[blockchain .CARTESI_BLOCKCHAIN_WS_ENDPOINT ]
109116go-type = " URL"
@@ -117,15 +124,15 @@ go-type = "bool"
117124description = """
118125If set to true the node will send transactions using the legacy gas fee model
119126(instead of EIP-1559)."""
120- used-by = [" claimer" , " node" , " cli" ]
127+ used-by = [" claimer" , " node" , " cli" , " prt " ]
121128
122129[blockchain .CARTESI_BLOCKCHAIN_DEFAULT_BLOCK ]
123130default = " finalized"
124131go-type = " DefaultBlock"
125132description = """
126133The default block to be used by EVM Reader and Claimer when requesting new blocks.
127134One of 'latest', 'pending', 'safe', 'finalized'"""
128- used-by = [" evmreader" , " claimer" , " node" ]
135+ used-by = [" evmreader" , " claimer" , " node" , " prt " ]
129136
130137[blockchain .CARTESI_BLOCKCHAIN_SUBSCRIPTION_TIMEOUT ]
131138default = " 60"
@@ -139,28 +146,28 @@ default = "4"
139146go-type = " uint64"
140147description = """
141148Maximum number of retry attempts for HTTP blockchain requests after encountering an error."""
142- used-by = [" evmreader" , " claimer" , " node" ]
149+ used-by = [" evmreader" , " claimer" , " node" , " prt " ]
143150
144151[rollups .CARTESI_BLOCKCHAIN_HTTP_RETRY_MIN_WAIT ]
145152default = " 1"
146153go-type = " Duration"
147154description = """
148155Minimum wait time in seconds for the exponential backoff retry policy. This is the initial delay before the first retry for HTTP blockchain requests."""
149- used-by = [" evmreader" , " claimer" , " node" ]
156+ used-by = [" evmreader" , " claimer" , " node" , " prt " ]
150157
151158[rollups .CARTESI_BLOCKCHAIN_HTTP_RETRY_MAX_WAIT ]
152159default = " 60"
153160go-type = " Duration"
154161description = """
155162Maximum wait time in seconds for the exponential backoff retry policy. The delay between retries for HTTP blockchain requests will never exceed this value, regardless of the backoff calculation."""
156- used-by = [" evmreader" , " claimer" , " node" ]
163+ used-by = [" evmreader" , " claimer" , " node" , " prt " ]
157164
158165[rollups .CARTESI_BLOCKCHAIN_MAX_BLOCK_RANGE ]
159166default = " 0"
160167go-type = " uint64"
161168description = """
162169Maximum number of blocks in a single query to the provider. Queries with larger ranges will be broken into multiple smaller queries. Zero for unlimited."""
163- used-by = [" evmreader" , " claimer" , " node" ]
170+ used-by = [" evmreader" , " claimer" , " node" , " prt " ]
164171
165172#
166173# Contracts
@@ -210,7 +217,7 @@ default = "/var/lib/cartesi-rollups-node/snapshots"
210217go-type = " string"
211218description = """
212219Path to the directory where the snapshots will be written."""
213- used-by = [" advancer" , " node" ]
220+ used-by = [" advancer" , " node" , " prt " ]
214221
215222#
216223# Auth
@@ -224,36 +231,36 @@ One of "private_key", "private_key_file", "mnemonic", "mnemonic_file", "aws".
224231
225232The auth variable for the kind defined here is required. Eg.: CARTESI_AUTH_MNEMONIC"""
226233omit = true
227- used-by = [" claimer" , " node" , " cli" ]
234+ used-by = [" claimer" , " node" , " cli" , " prt " ]
228235
229236[auth .CARTESI_AUTH_PRIVATE_KEY ]
230237go-type = " RedactedString"
231238description = """
232239The node will use this private key to sign transactions."""
233240omit = true
234- used-by = [" claimer" , " node" , " cli" ]
241+ used-by = [" claimer" , " node" , " cli" , " prt " ]
235242
236243[auth .CARTESI_AUTH_PRIVATE_KEY_FILE ]
237244go-type = " string"
238245description = """
239246The node will use the private key contained in this file to sign transactions."""
240247omit = true
241- used-by = [" claimer" , " node" , " cli" ]
248+ used-by = [" claimer" , " node" , " cli" , " prt " ]
242249
243250[auth .CARTESI_AUTH_MNEMONIC ]
244251go-type = " RedactedString"
245252description = """
246253The node will use the private key generated from this mnemonic to sign transactions."""
247254omit = true
248- used-by = [" claimer" , " node" , " cli" ]
255+ used-by = [" claimer" , " node" , " cli" , " prt " ]
249256
250257[auth .CARTESI_AUTH_MNEMONIC_FILE ]
251258go-type = " string"
252259description = """
253260The node will use the private key generated from the mnemonic contained in this file
254261to sign transactions."""
255262omit = true
256- used-by = [" claimer" , " node" , " cli" ]
263+ used-by = [" claimer" , " node" , " cli" , " prt " ]
257264
258265[auth .CARTESI_AUTH_MNEMONIC_ACCOUNT_INDEX ]
259266default = " 0"
@@ -262,7 +269,7 @@ description = """
262269When using mnemonics to sign transactions,
263270the node will use this account index to generate the private key."""
264271omit = true
265- used-by = [" claimer" , " node" , " cli" ]
272+ used-by = [" claimer" , " node" , " cli" , " prt " ]
266273
267274[auth .CARTESI_AUTH_AWS_KMS_KEY_ID ]
268275go-type = " RedactedString"
@@ -271,7 +278,7 @@ If set, the node will use the AWS KMS service with this key ID to sign transacti
271278
272279Must be set alongside `CARTESI_AUTH_AWS_KMS_REGION`."""
273280omit = true
274- used-by = [" claimer" , " node" , " cli" ]
281+ used-by = [" claimer" , " node" , " cli" , " prt " ]
275282
276283[auth .CARTESI_AUTH_AWS_KMS_REGION ]
277284go-type = " RedactedString"
@@ -280,7 +287,7 @@ An AWS KMS Region.
280287
281288Must be set alongside `CARTESI_AUTH_AWS_KMS_KEY_ID`."""
282289omit = true
283- used-by = [" claimer" , " node" , " cli" ]
290+ used-by = [" claimer" , " node" , " cli" , " prt " ]
284291
285292#
286293# Database
@@ -298,7 +305,7 @@ See [this](https://www.postgresql.org/docs/current/libpq-envars.html) for more i
298305It is also possible to set the endpoint without a password and load it from Postgres' passfile.
299306See [this](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-PASSFILE)
300307for more information."""
301- used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " cli" ]
308+ used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " cli" , " prt " ]
302309
303310#
304311# Telemetry http address
@@ -308,7 +315,7 @@ used-by = ["advancer", "claimer", "evmreader", "validator", "jsonrpc", "node", "
308315go-type = " string"
309316description = """
310317HTTP address for telemetry service."""
311- used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " cli" ]
318+ used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " cli" , " prt " ]
312319
313320#
314321# HTTP
0 commit comments