Commit Graph
26 Commits
Author SHA1 Message Date
Alexis Sellier 15e8a96948 node: Service -> Protocol
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-16 20:25:51 +02:00
Alexis Sellier 1017a2bc69 node: Don't simulate transport
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-16 20:14:00 +02:00
Alexis Sellier d3dd83447e node: Rename 'hello' message to 'initialize'
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-15 14:05:22 +02:00
Alexis Sellier 38dc571f2e node: Add verification on fetch 2022-09-14 16:01:32 +02:00
Alexis Sellier 651513c757 node: Re-think gossip messages and signing
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier a47463a664 node: Test fetch comes from right place
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Slack Coder 825bd3f5e1 node: Test push/pull flow
Signed-off-by: Slack Coder <slackcoder@server.ky>
2022-09-13 10:16:05 +02:00
Alexis Sellier b3d3077ccc node: Implement binary encoding for messages
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 927f062dc9 node: Rename ProjId -> Id
Remove `UserId` type.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 09265eb3da node: Rename 'providers' to 'seeds' to match docs
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Slack Coder d273cd0247 node: Add track/untrack support
Signed-off-by: Slack Coder <slackcoder@server.ky>
2022-09-13 10:16:05 +02:00
Alexis Sellier c3b7a6fbd7 node: Implement project retrieval
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 68099688e6 node: Finalize init
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 1057fb952c node: Improve crate organization
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier ad1f25b3f5 node: Add NodeId
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier b78bbc4ecc node: Add support for multiple address types
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 92f17d71c3 node: Implement auto-fetching of projects
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier a5a7af57b5 node: Add Storage::open
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 5e0d4653c7 node: Add timestamp to handshake
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier e040ea5ec7 node: Don't allow timestamps with too much delta
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 9ca982ee28 node: Use timestamps instead of sequence numbers
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 32591e6aa4 node: Fix encoding of types, add fixtures
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 9873a36463 node: Update Config Default instance
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:04 +02:00
Alexis Sellier 9b3f5b9f3c node: Inventory relay
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:04 +02:00
Alexis Sellier 15eed71588 node: Send all remotes in inventory
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:04 +02:00
Alexis Sellier 789c50ee35 Minimal radicle node implementation
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:03 +02:00