Expand description
Network versioning
Constants§
Statics§
- IDENTIFY_
PROTOCOL_ STR - Identify protocol version string for peer compatibility verification.
- NETWORK_
ID - Network identifier used to differentiate between different networks.
- REQ_
RESPONSE_ VERSION_ STR - The req/response protocol version
Functions§
- construct_
client_ user_ agent - Client user-agent identifier for peer recognition and routing exclusion.
- construct_
node_ user_ agent - Node user-agent identifier for peer recognition and routing table management.
- 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.