Start a client
The client will fetch the last block in the database and add all missing blocks to the queue to be parsed.
casperParser client [flags]
--disableCheckMissingBlocks Disable check on missing blocks
-e, --event string Node main event endpoint (default "http://127.0.0.1:9999/events/main")
-h, --help help for client
--onlyFromEvents Only parse incoming events
--onlyUntilCurrentBlock Only parse until the current block
-p, --pool int Database connection pool max connections (default 10)
-c, --cluster strings Redis cluster instance addresses. Priority over redis flag but not the sentinel flag.
--config string config file (default is $HOME/.casperParser or ./casperParser )
-d, --database string Postgres connection string. Prefer ENV variable to setup a secure connection (default "postgres://postgres:mypassword@localhost:5432/casper")
-m, --master string Redis sentinel master name (default "mymaster")
-r, --redis string Redis single instance address. Lowest priority over cluster & sentinel flag. (default "127.0.0.1:6379")
--rpc string Casper RPC endpoint (default "http://127.0.0.1:7777/rpc")
-s, --sentinel strings Redis sentinel addresses. Highest priority over redis & cluster flag.
- casperParser - casperParser help you parse and store off-chain data from the Casper Blockchain