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: statediff/README.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,26 +76,26 @@ This state diffing service runs as an auxiliary service concurrent to the regula
76
76
### CLI configuration
77
77
This service introduces a CLI flag namespace `statediff`
78
78
79
-
`--statediff` flag is used to turn on the service
80
-
`--statediff.writing` is used to tell the service to write state diff objects it produces from synced ChainEvents directly to a configured Postgres database
81
-
`--statediff.workers` is used to set the number of concurrent workers to process state diff objects and write them into the database
82
-
`--statediff.db.type` is the type of database we write out to (current options: postgres, dump, file)
83
-
`--statediff.dump.dst` is the destination to write to when operating in database dump mode (stdout, stderr, discard)
84
-
`--statediff.db.driver` is the specific driver to use for the database (current options for postgres: pgx and sqlx)
85
-
`--statediff.db.host` is the hostname/ip to dial to connect to the database
86
-
`--statediff.db.port` is the port to dial to connect to the database
87
-
`--statediff.db.name` is the name of the database to connect to
88
-
`--statediff.db.user` is the user to connect to the database as
89
-
`--statediff.db.password` is the password to use to connect to the database
90
-
`--statediff.db.conntimeout` is the connection timeout (in seconds)
91
-
`--statediff.db.maxconns` is the maximum number of database connections
92
-
`--statediff.db.minconns` is the minimum number of database connections
93
-
`--statediff.db.maxidleconns` is the maximum number of idle connections
94
-
`--statediff.db.maxconnidletime` is the maximum lifetime for an idle connection (in seconds)
95
-
`--statediff.db.maxconnlifetime` is the maximum lifetime for a connection (in seconds)
96
-
`--statediff.db.nodeid` is the node id to use in the Postgres database
97
-
`--statediff.db.clientname` is the client name to use in the Postgres database
98
-
`--statediff.file.path` full path (including filename) to write statediff data out to when operating in file mode
79
+
`--statediff` flag is used to turn on the service
80
+
`--statediff.writing` is used to tell the service to write state diff objects it produces from synced ChainEvents directly to a configured Postgres database
81
+
`--statediff.workers` is used to set the number of concurrent workers to process state diff objects and write them into the database
82
+
`--statediff.db.type` is the type of database we write out to (current options: postgres, dump, file)
83
+
`--statediff.dump.dst` is the destination to write to when operating in database dump mode (stdout, stderr, discard)
84
+
`--statediff.db.driver` is the specific driver to use for the database (current options for postgres: pgx and sqlx)
85
+
`--statediff.db.host` is the hostname/ip to dial to connect to the database
86
+
`--statediff.db.port` is the port to dial to connect to the database
87
+
`--statediff.db.name` is the name of the database to connect to
88
+
`--statediff.db.user` is the user to connect to the database as
89
+
`--statediff.db.password` is the password to use to connect to the database
90
+
`--statediff.db.conntimeout` is the connection timeout (in seconds)
91
+
`--statediff.db.maxconns` is the maximum number of database connections
92
+
`--statediff.db.minconns` is the minimum number of database connections
93
+
`--statediff.db.maxidleconns` is the maximum number of idle connections
94
+
`--statediff.db.maxconnidletime` is the maximum lifetime for an idle connection (in seconds)
95
+
`--statediff.db.maxconnlifetime` is the maximum lifetime for a connection (in seconds)
96
+
`--statediff.db.nodeid` is the node id to use in the Postgres database
97
+
`--statediff.db.clientname` is the client name to use in the Postgres database
98
+
`--statediff.file.path` full path (including filename) to write statediff data out to when operating in file mode
99
99
100
100
The service can only operate in full sync mode (`--syncmode=full`), but only the historical RPC endpoints require an archive node (`--gcmode=archive`)
0 commit comments