node: Add agent and version to node announcement
- Adds a user-agent string to the node announcement. This lets us keep track of what software version everyone is running. Especially useful to see what percentage of the network has upgraded to a new release.
For old nodes, this defaults to the string /radicle/.
The user agent format is roughly based on BIP 0014.
- Advertize protocol version in node announcement.
By advertizing the protocol version, nodes can decide to only connect to
peers with a compatible version. The default and current version is 1.
We bundle these two changes as they both modify the node announcement and node database.
- Adds a user-agent string to the node announcement. This lets us keep track of what software version everyone is running. Especially useful to see what percentage of the network has upgraded to a new release.
For old nodes, this defaults to the string /radicle/.
The user agent format is roughly based on BIP 0014.
- Advertize protocol version in node announcement.
By advertizing the protocol version, nodes can decide to only connect to
peers with a compatible version. The default and current version is 1.
We bundle these two changes as they both modify the node announcement and node database.
Updates.
Updates, rebase.
Rebase.