Skip to content

Commit 4fb92b5

Browse files
committed
update example command in readme
1 parent 2339b0a commit 4fb92b5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

statediff/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The service can only operate in full sync mode (`--syncmode=full`), but only the
100100

101101
e.g.
102102
`
103-
./build/bin/geth --syncmode=full --gcmode=archive --statediff --statediff.writing --statediff.db=postgres://localhost:5432/vulcanize_testing?sslmode=disable --statediff.dbnodeid={nodeId} --statediff.dbclientname={dbClientName}
103+
./build/bin/geth --syncmode=full --gcmode=archive --statediff --statediff.writing --statediff.db.type=postgres --statediff.db.driver=sqlx --statediff.db.host=localhost --statediff.db.port=5432 --statediff.db.name=vulcanize_test --statediff.db.user=postgres --statediff.db.nodeid=nodeid --statediff.db.clientname=clientname
104104
`
105105

106106
### RPC endpoints

statediff/service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ func (sds *Service) writeLoopWorker(params workerParams) {
306306

307307
// Loop is the main processing method
308308
func (sds *Service) Loop(chainEventCh chan core.ChainEvent) {
309+
log.Info("Starting statediff listening loop")
309310
chainEventSub := sds.BlockChain.SubscribeChainEvent(chainEventCh)
310311
defer chainEventSub.Unsubscribe()
311312
errCh := chainEventSub.Err()

0 commit comments

Comments
 (0)