Skip to main content

validate_network

Function validate_network 

Source
pub async fn validate_network<C: ClientT + Sync>(
    client: &NativeClient<C>,
    expected: &NetworkHash,
) -> Result<NetworkInfo, NativeRpcError>
Expand description

Verify signing identity against an independently configured network hash. A matching network hash does not distinguish resets of the same chain.