consensus_core/network/
tonic_tls.rs

1// Copyright (c) Mysten Labs, Inc.
2// SPDX-License-Identifier: Apache-2.0
3
4use crate::context::Context;
5
6pub(crate) fn certificate_server_name(context: &Context) -> String {
7    format!("consensus_epoch_{}", context.committee.epoch())
8}