Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.63 KB

File metadata and controls

40 lines (29 loc) · 1.63 KB

casperParser client

Start a client

Synopsis

The client will fetch the last block in the database and add all missing blocks to the queue to be parsed.

casperParser client [flags]

Options

      --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)

Options inherited from parent commands

  -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.

SEE ALSO

  • casperParser - casperParser help you parse and store off-chain data from the Casper Blockchain
Auto generated by spf13/cobra on 28-Jan-2023