-
Notifications
You must be signed in to change notification settings - Fork 33
[P2P] RainTree Redundancy Layer Implementation #85
Copy link
Copy link
Open
Labels
coreCore infrastructure - protocol relatedCore infrastructure - protocol relatedp2pP2P specific changesP2P specific changes
Milestone
Description
Objective
Implement and test RainTree's redundancy layer on top of the Pre2P module.
Origin Document
The Pocket Network V1 P2P Specification, supported by this explanation of RainTree is partially implemented in the pre2p/raintree branch atop the Pre2P module at the time of creating this issue, but without the redundancy and cleanup layers.
This implementation has already been started and is available in the pre2p/raintree_redundancy branch at the time of writing this thread in #80.
The initial implementation of the redundancy layer code is available in the following commit: 756b0a0.
Goals
Deliverables
- Fully implement the redundancy layers of RainTree including as described in the docs referenced by the
Origin Documentsection:- 1. ACK/Adjust/Resend
- 2. Redundancy layer
- 3. Daisy Chain clean-up
- Update
raintree_utils_test.goto add support for- Dead / faulty nodes
- Partial visibility of the network
- Update the
README.md(to be added in thepre2p/raintreesoon) describing the added / modified code layout ofPre2P modulewith the new modifications
Testing Methodology
- Use
make test_pre2pto run existing tests - Update the test suite in
raintree_utils_test.goand addraintree_redundancy_layer_test.goint he same package with new tests - [Optional] Use
LocalNetas described indocs/development/README.md - [Optional] Using
Telemetry(if ready) to validate the results from (2)
Non-goals
- Scaling LocalNet to many nodes
- Resolving tech debt or optimizing existing code
- Replacing P2P with Pre2P
Creator: @Olshansk
Co-Owners: @andrewnguyen22
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreCore infrastructure - protocol relatedCore infrastructure - protocol relatedp2pP2P specific changesP2P specific changes
Type
Projects
Status
Rescope