Skip to content

Commit 68f2390

Browse files
authored
Merge pull request #182 from vulcanize/fix_readme_formatting
fix README formatting
2 parents 45c1d6c + 1c8961a commit 68f2390

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

statediff/README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -76,26 +76,26 @@ This state diffing service runs as an auxiliary service concurrent to the regula
7676
### CLI configuration
7777
This service introduces a CLI flag namespace `statediff`
7878

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
9999

100100
The service can only operate in full sync mode (`--syncmode=full`), but only the historical RPC endpoints require an archive node (`--gcmode=archive`)
101101

0 commit comments

Comments
 (0)