zebra_state::config

Function state_database_format_version_on_disk

source
pub fn state_database_format_version_on_disk(
    config: &Config,
    network: &Network,
) -> Result<Option<Version>, BoxError>
Expand description

Returns the full semantic version of the on-disk state database, based on its config and network.