Skip to main content

EOS_P2P_SetRelayControlOptions

Type Alias EOS_P2P_SetRelayControlOptions 

Source
pub type EOS_P2P_SetRelayControlOptions = _tagEOS_P2P_SetRelayControlOptions;
Expand description

Structure containing information about new relay configurations.

Aliased Type§

#[repr(C)]
pub struct EOS_P2P_SetRelayControlOptions { pub ApiVersion: i32, pub RelayControl: i32, }

Fields§

§ApiVersion: i32

API Version: Set this to EOS_P2P_SETRELAYCONTROL_API_LATEST.

§RelayControl: i32

The requested level of relay servers for P2P connections. This setting is only applied to new P2P connections, or when existing P2P connections reconnect during a temporary connectivity outage. Peers with an incompatible setting to the local setting will not be able to connect.