radicle-heartwood-lfs/radicle-cli
cloudhead 76edc0c523
node: Add agent and version to node announcement
1. 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.

2. 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.

3. Swap the order of the fields in announcements to make the message
   extensible.
2024-06-13 11:28:09 +02:00
..
examples cli: Clarify doc test example 2024-06-12 15:36:34 +02:00
src cli: Correctly update inventory with seed commands 2024-06-12 15:36:34 +02:00
tests node: Add agent and version to node announcement 2024-06-13 11:28:09 +02:00
Cargo.toml Bump crate versions 2024-06-05 16:51:55 +02:00
build.rs Update radicle crates to 0.9.0 2024-03-26 11:56:27 +01:00