Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ArchiveEnableFlag defines whether or not the beacon chain should archive // historical blocks, attestations, and validator set changes. ArchiveEnableFlag = cli.BoolFlag{ Name: "archive", Usage: "Whether or not beacon chain should archive historical data including blocks, attestations, and validator set changes", } // ArchiveValidatorSetChangesFlag defines whether or not the beacon chain should archive // historical validator set changes in persistent storage. ArchiveValidatorSetChangesFlag = cli.BoolFlag{ Name: "archive-validator-set-changes", Usage: "Whether or not beacon chain should archive historical validator set changes", } // ArchiveBlocksFlag defines whether or not the beacon chain should archive // historical block data in persistent storage. ArchiveBlocksFlag = cli.BoolFlag{ Name: "archive-blocks", Usage: "Whether or not beacon chain should archive historical blocks", } // ArchiveAttestationsFlag defines whether or not the beacon chain should archive // historical attestation data in persistent storage. ArchiveAttestationsFlag = cli.BoolFlag{ Name: "archive-attestations", Usage: "Whether or not beacon chain should archive historical blocks", } )
View Source
var ( // NoCustomConfigFlag determines whether to launch a beacon chain using real parameters or demo parameters. NoCustomConfigFlag = cli.BoolFlag{ Name: "no-custom-config", Usage: "Run the beacon chain with the real parameters from phase 0.", } // HTTPWeb3ProviderFlag provides an HTTP access endpoint to an ETH 1.0 RPC. HTTPWeb3ProviderFlag = cli.StringFlag{ Name: "http-web3provider", Usage: "A mainchain web3 provider string http endpoint", Value: "https://goerli.prylabs.net", } // Web3ProviderFlag defines a flag for a mainchain RPC endpoint. Web3ProviderFlag = cli.StringFlag{ Name: "web3provider", Usage: "A mainchain web3 provider string endpoint. Can either be an IPC file string or a WebSocket endpoint. Cannot be an HTTP endpoint.", Value: "wss://goerli.prylabs.net/websocket", } // DepositContractFlag defines a flag for the deposit contract address. DepositContractFlag = cli.StringFlag{ Name: "deposit-contract", Usage: "Deposit contract address. Beacon chain node will listen logs coming from the deposit contract to determine when validator is eligible to participate.", } // RPCPort defines a beacon node RPC port to open. RPCPort = cli.IntFlag{ Name: "rpc-port", Usage: "RPC port exposed by a beacon node", Value: 4000, } // CertFlag defines a flag for the node's TLS certificate. CertFlag = cli.StringFlag{ Name: "tls-cert", Usage: "Certificate for secure gRPC. Pass this and the tls-key flag in order to use gRPC securely.", } // KeyFlag defines a flag for the node's TLS key. KeyFlag = cli.StringFlag{ Name: "tls-key", Usage: "Key for secure gRPC. Pass this and the tls-cert flag in order to use gRPC securely.", } // GRPCGatewayPort enables a gRPC gateway to be exposed for Prysm. GRPCGatewayPort = cli.IntFlag{ Name: "grpc-gateway-port", Usage: "Enable gRPC gateway for JSON requests", } )
View Source
var ( // InteropGenesisStateFlag defines a flag for the beacon node to load genesis state via file. InteropGenesisStateFlag = cli.StringFlag{ Name: "interop-genesis-state", Usage: "The genesis state file (.SSZ) to load from", } // InteropMockEth1DataVotesFlag enables mocking the eth1 proof-of-work chain data put into blocks by proposers. InteropMockEth1DataVotesFlag = cli.BoolFlag{ Name: "interop-eth1data-votes", Usage: "Enable mocking of eth1 data votes for proposers to package into blocks", } // InteropGenesisTimeFlag specifies genesis time for state generation. InteropGenesisTimeFlag = cli.Uint64Flag{ Name: "interop-genesis-time", Usage: "Specify the genesis time for interop genesis state generation. Must be used with " + "--interop-num-validators", } // InteropNumValidatorsFlag specifies number of genesis validators for state generation. InteropNumValidatorsFlag = cli.Uint64Flag{ Name: "interop-num-validators", Usage: "Specify number of genesis validators to generate for interop. Must be used with --interop-genesis-time", } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.