sui_proxy::admin

Function create_server_cert_enforce_peer

Source
pub fn create_server_cert_enforce_peer(
    dynamic_peers: DynamicPeerValidationConfig,
    static_peers: Option<StaticPeerValidationConfig>,
) -> Result<(ServerConfig, Option<SuiNodeProvider>), Error>
Expand description

Verify clients against sui blockchain, clients that are not found in sui_getValidators will be rejected