Module version

Source
Expand description

Network versioning

Constants§

ALPHANET_ID
MAINNET_ID

Statics§

IDENTIFY_CLIENT_VERSION_STR
The client version used during Identify Behaviour.
IDENTIFY_NODE_VERSION_STR
The node version used during Identify Behaviour.
IDENTIFY_PROTOCOL_STR
The identify protocol version
NETWORK_ID
The network_id is used to differentiate between different networks. The default is set to 1 and it represents the mainnet.
REQ_RESPONSE_VERSION_STR
The req/response protocol version

Functions§

get_network_id
Get the current NETWORK_ID as string.
get_network_id_str
Get the current NETWORK_ID as string.
get_truncate_version_str
set_network_id
Update the NETWORK_ID.