radicle-heartwood-lfs/radicle/src/test
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
..
arbitrary.rs node: Add agent and version to node announcement 2024-06-13 11:28:09 +02:00
assert.rs Split repository into two creates 2022-09-21 15:11:17 +02:00
fixtures.rs node: Update sync status for private repos 2024-05-21 13:32:40 +02:00
storage.rs node: Update inventory when unseeding 2024-06-12 15:36:34 +02:00