Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSecretFromFile ¶
Taken from: https://github.com/prysmaticlabs/prysm/blob/v2.1.4/cmd/beacon-chain/execution/options.go#L43 Parses a JWT secret from a file path. This secret is required when connecting to execution nodes over HTTP, and must be the same one used in Prysm and the execution node server Prysm is connecting to. The engine API specification here https://github.com/ethereum/execution-apis/blob/main/src/engine/authentication.md Explains how we should validate this secret and the format of the file a user can specify.
The secret must be stored as a hex-encoded string within a file in the filesystem.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.