From 4fb92b535815a21035cb52c03c3dff3aaef1e758 Mon Sep 17 00:00:00 2001 From: i-norden Date: Fri, 12 Nov 2021 08:49:06 -0600 Subject: [PATCH] update example command in readme --- statediff/README.md | 2 +- statediff/service.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/statediff/README.md b/statediff/README.md index bd5d1d43c..97666d50a 100644 --- a/statediff/README.md +++ b/statediff/README.md @@ -100,7 +100,7 @@ The service can only operate in full sync mode (`--syncmode=full`), but only the e.g. ` -./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} +./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 ` ### RPC endpoints diff --git a/statediff/service.go b/statediff/service.go index 8557f87d0..31a56b809 100644 --- a/statediff/service.go +++ b/statediff/service.go @@ -306,6 +306,7 @@ func (sds *Service) writeLoopWorker(params workerParams) { // Loop is the main processing method func (sds *Service) Loop(chainEventCh chan core.ChainEvent) { + log.Info("Starting statediff listening loop") chainEventSub := sds.BlockChain.SubscribeChainEvent(chainEventCh) defer chainEventSub.Unsubscribe() errCh := chainEventSub.Err()