reth::utils

Function get_or_create_jwt_secret_from_path

Source
pub fn get_or_create_jwt_secret_from_path(
    path: &Path,
) -> Result<JwtSecret, JwtError>
Expand description

Re-exported from reth_node_core, also to prevent a breaking change. See the comment on the reth_node_core::args re-export for more details. Attempts to retrieve or create a JWT secret from the specified path.