bittensor.core.chain_data.ip_info#
Classes#
Dataclass representing IP information. |
Module Contents#
- class bittensor.core.chain_data.ip_info.IPInfo#
Dataclass representing IP information.
- Variables:
- encode()#
Returns a dictionary of the IPInfo object that can be encoded.
- classmethod fix_decoded_values(decoded)#
Returns a SubnetInfo object from a decoded IPInfo dictionary.
- classmethod from_parameter_dict(parameter_dict)#
Creates a IPInfo instance from a parameter dictionary.
- classmethod from_vec_u8(vec_u8)#
Returns a IPInfo object from a
vec_u8
.
- classmethod list_from_vec_u8(vec_u8)#
Returns a list of IPInfo objects from a
vec_u8
.