Skip to main content

NetParamValues

Type Alias NetParamValues 

Source
pub type NetParamValues = ParamValues<i32>;
Expand description

Some map of values for network parameters, eg for overriding

The whole consensus’s network parameters (from the preamble) are a NetParams which is usually refined into a tor_netdir::NetParameters for use.

This is a convenience alias for the generic ParamValues, which is used for other netdoc elements too.

See ParamValues for a discussion of the relationship between these types.

Aliased Type§

pub struct NetParamValues {
    params: HashMap<String, i32>,
}

Fields§

§params: HashMap<String, i32>

Map from keys to values.