radicle-heartwood-lfs/radicle/src
Alexis Sellier ff7338de17
node: Always send node announcement on handshake
Previously, we only sent the announcement when there were external
addresses. But it contains other information like the node alias,
therefore we always send it.

Since the proof-of-work can be expensive to compute everytime, we add
the ability to load the local node announcement from the file system.

We also change the proof-of-work parameters so that they are relaxed
when running in debug mode, instead of when running tests.

Finally, we remove the boolean validation of the PoW. Instead, we store
the work per-node, in the database, to be used in the future in case of
DoS attacks or network congestion.
2023-06-07 11:39:23 +02:00
..
canonical radicle: custom CanonicalFormatter 2023-02-24 11:59:36 +01:00
cob cli: Enable redacting patch revisions 2023-06-02 17:30:13 +02:00
identity radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
node node: Always send node announcement on handshake 2023-06-07 11:39:23 +02:00
storage cli: Verify merge, remove `rad merge` command 2023-05-23 16:11:42 +02:00
test cli: Verify merge, remove `rad merge` command 2023-05-23 16:11:42 +02:00
canonical.rs radicle: custom CanonicalFormatter 2023-02-24 11:59:36 +01:00
cob.rs cob: Use `EntryId` as the operation identifier 2023-03-09 17:08:56 +01:00
collections.rs Split repository into two creates 2022-09-21 15:11:17 +02:00
git.rs cli: Verify merge, remove `rad merge` command 2023-05-23 16:11:42 +02:00
identity.rs cob: Don't require a local fork to exist 2023-03-01 15:40:30 +01:00
lib.rs radicle: Make addresses.db accessible from profile 2023-06-02 14:49:20 +02:00
node.rs node: Always send node announcement on handshake 2023-06-07 11:39:23 +02:00
profile.rs radicle: Create `Aliases` and use it in `httpd` 2023-06-02 14:50:49 +02:00
rad.rs Update to Rust 1.70 2023-06-02 14:40:44 +02:00
serde_ext.rs node: Use JSON for control commands 2023-02-07 10:46:12 +01:00
sql.rs node: Keep track of connection attempts 2023-05-05 17:23:52 +02:00
storage.rs cli: Verify merge, remove `rad merge` command 2023-05-23 16:11:42 +02:00
test.rs cob: Redesign merge state 2023-05-19 18:40:46 +02:00