radicle-heartwood-lfs/radicle-node
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
..
src node: Always send node announcement on handshake 2023-06-07 11:39:23 +02:00
Cargo.toml Update `io-reactor` and related dependencies 2023-05-27 20:43:56 +02:00
Dockerfile Build container images for deployment 2022-12-14 17:15:40 +01:00
radicle-node.service node: systemd file 2023-03-31 15:48:32 +02:00