Returns the configured authenticated Engine API IPC path from the supplied node config.
(node_config: &NodeConfig<BaseChainSpec>)
| 231 | |
| 232 | /// Returns the configured authenticated Engine API IPC path from the supplied node config. |
| 233 | pub const fn auth_ipc_path_for(node_config: &NodeConfig<BaseChainSpec>) -> &str { |
| 234 | node_config.rpc.auth_ipc_path.as_str() |
| 235 | } |
| 236 | |
| 237 | /// Enables authenticated Engine API over IPC. |
| 238 | pub const fn with_auth_ipc(mut self) -> Self { |