@@ -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
@@ -40,7 +40,7 @@ default = "true"
4040go-type = " bool"
4141description = """
4242If set to false, the node will not start the inspect service."""
43- used-by = [" advancer" , " node" ]
43+ used-by = [" advancer" , " node" , " prt " ]
4444
4545[features .CARTESI_FEATURE_JSONRPC_API_ENABLED ]
4646default = " true"
@@ -55,7 +55,7 @@ go-type = "bool"
5555description = """
5656If set to false, the node will *not* check whether the Cartesi machine hash from
5757the snapshot matches the hash in the Application contract."""
58- used-by = [" advancer" , " node" , " cli" ]
58+ used-by = [" advancer" , " node" , " cli" , " prt " ]
5959
6060#
6161# Rollups
@@ -87,7 +87,17 @@ default = "15"
8787go-type = " Duration"
8888description = """
8989How many seconds the node expects services take initializing before aborting."""
90- used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" ]
90+ used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " prt" ]
91+
92+ #
93+ # PRT (Permissionless Refereed Tournaments)
94+
95+ [rollups .CARTESI_PRT_POLLING_INTERVAL ]
96+ default = " 7"
97+ go-type = " Duration"
98+ description = """
99+ How many seconds the PRT service will wait before checking for new tournaments or tournament state changes."""
100+ used-by = [" prt" , " node" ]
91101
92102#
93103# Blockchain
@@ -194,7 +204,7 @@ Address of the SelfHostedApplicationFactory contract. Not required, used only by
194204omit = true
195205used-by = [" cli" ]
196206
197- [contracts .CARTESI_CONTRACTS_PRT_CONSENSUS_FACTORY_ADDRESS ]
207+ [contracts .CARTESI_CONTRACTS_PRT_FACTORY_ADDRESS ]
198208go-type = " Address"
199209description = """
200210Address of the PRT consensus contract. Not required, used only by the CLI and tests"""
@@ -210,7 +220,7 @@ default = "/var/lib/cartesi-rollups-node/snapshots"
210220go-type = " string"
211221description = """
212222Path to the directory where the snapshots will be written."""
213- used-by = [" advancer" , " node" ]
223+ used-by = [" advancer" , " node" , " prt " ]
214224
215225#
216226# Auth
@@ -298,7 +308,7 @@ See [this](https://www.postgresql.org/docs/current/libpq-envars.html) for more i
298308It is also possible to set the endpoint without a password and load it from Postgres' passfile.
299309See [this](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-PASSFILE)
300310for more information."""
301- used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " cli" ]
311+ used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " cli" , " prt " ]
302312
303313#
304314# Telemetry http address
@@ -308,7 +318,7 @@ used-by = ["advancer", "claimer", "evmreader", "validator", "jsonrpc", "node", "
308318go-type = " string"
309319description = """
310320HTTP address for telemetry service."""
311- used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " cli" ]
321+ used-by = [" advancer" , " claimer" , " evmreader" , " validator" , " jsonrpc" , " node" , " cli" , " prt " ]
312322
313323#
314324# HTTP
@@ -326,7 +336,7 @@ default = ":10012"
326336go-type = " string"
327337description = """
328338HTTP address for inspect."""
329- used-by = [" advancer" , " node" , " cli" ]
339+ used-by = [" advancer" , " node" , " cli" , " prt " ]
330340
331341#
332342# Remote Cartesi Machine
@@ -338,4 +348,4 @@ go-type = "MachineLogLevel"
338348description = """
339349Remote Cartesi Machine server log level.
340350One of "trace", "debug", "info", "warning", "error", "fatal"."""
341- used-by = [" advancer" , " node" ]
351+ used-by = [" advancer" , " node" , " prt " ]
0 commit comments