Expand description
Network versioning
Constants§
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.