Giter VIP home page Giter VIP logo

Comments (7)

har00ga avatar har00ga commented on August 22, 2024

I take it this is something that should go under 'how Prysm works'?

from documentation.

prestonvanloon avatar prestonvanloon commented on August 22, 2024

from documentation.

wgknowles avatar wgknowles commented on August 22, 2024

Exact syntax to run slasher will vary by OS & again by prysm.sh/prysm.bat/docker/bazel. Might make more sense having a "Run Slasher" page per OS?

from documentation.

har00ga avatar har00ga commented on August 22, 2024

Imho it doesn't warrant it's own page with 1 command, better to just bundle it with existing pages and link back to a slasher specific section in how prysm works to explain motive.

from documentation.

wgknowles avatar wgknowles commented on August 22, 2024

Also need an update to list available flags: https://docs.prylabs.network/docs/prysm-usage/parameters/

from documentation.

wgknowles avatar wgknowles commented on August 22, 2024

Flags for Slasher:

cmd OPTIONS:
--clear-db Prompt for clearing any previously stored data at the data directory (default: false)
--config-file value The filepath to a yaml file with flag values
--datadir value Data directory for the databases and keystore (default: "/Users//Library/Eth2")
--enable-tracing Enable request tracing. (default: false)
--force-clear-db Clear any previously stored data at the data directory (default: false)
--log-file value Specify log file name, relative or absolute
--log-format value Specify log formatting. Supports: text, json, fluentd. (default: "text")
--monitoring-port value Port used to listening and respond metrics for prometheus. (default: 8082)
--trace-sample-fraction value Indicate what fraction of p2p messages are sampled for tracing. (default: 0.2)
--tracing-endpoint value Tracing endpoint defines where beacon chain traces are exposed to Jaeger. (default: "http://127.0.0.1:14268/api/traces")
--tracing-process-name value The name to apply to tracing tag "process_name"
--verbosity value Logging verbosity (trace, debug, info=default, warn, error, fatal, panic) (default: "info")

debug OPTIONS:
--cpuprofile value Write CPU profile to the given file
--memprofilerate value Turn on memory profiling with the given rate (default: 524288)
--pprof Enable the pprof HTTP server (default: false)
--pprofaddr value pprof HTTP server listening interface (default: "127.0.0.1")
--pprofport value pprof HTTP server listening port (default: 6060)
--trace value Write execution trace to the given file

slasher OPTIONS:
--beacon-rpc-provider value Beacon node RPC provider endpoint (default: "localhost:4000")
--beacon-tls-cert value Certificate for secure beacon gRPC connection. Pass this in order to use beacon gRPC securely.
--rebuild-span-maps Rebuild span maps from indexed attestations in db (default: false)
--rpc-port value RPC port exposed by the slasher (default: 5000)
--tls-key value Key for secure gRPC. Pass this and the tls-cert flag in order to use gRPC securely.

from documentation.

wgknowles avatar wgknowles commented on August 22, 2024

Seems that --tls-cert may be missing?

from documentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.