chore: example of sync protocol interop pluto and charon#337
Draft
iamquang95 wants to merge 1 commit intoiamquang95/dkg/syncfrom
Draft
chore: example of sync protocol interop pluto and charon#337iamquang95 wants to merge 1 commit intoiamquang95/dkg/syncfrom
iamquang95 wants to merge 1 commit intoiamquang95/dkg/syncfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pluto + Charon Sync Interop Demo
Manual 5-terminal interop demo for
dkg/sync.Pre-step:
Runtime topology:
Assumptions:
http://127.0.0.1:8888/tmp/pluto-sync-interopSet these once in every terminal:
Pre-step: Build Charon And Create Shared Fixture
Run:
This creates:
/tmp/pluto-sync-interop/node0/tmp/pluto-sync-interop/node1/tmp/pluto-sync-interop/node2/tmp/pluto-sync-interop/node3After this finishes, close that terminal. The runtime demo uses 5 terminals total.
Terminal 1: Start Relay
Run from Pluto repo root:
Leave it running.
Terminal 2: Start Pluto Node 0
Run from Pluto repo root:
Terminal 3: Start Pluto Node 1
Run from Pluto repo root:
Terminal 4: Start Charon Node 2
Run from Pluto repo root:
Terminal 5: Start Charon Node 3
Run from Pluto repo root:
Recommended Startup Order
Success Signals
On Pluto nodes:
Relay reservation acceptedConnection establishedAll sync clients connectedSync step reachedSync demo is now idling until Ctrl+COn Charon nodes:
Started charon sync demoWaiting for peers to connectAll peers connectedSync step reached local_node=... step=1Sync step reached local_node=... step=2Sync demo is now idling until Ctrl+CStop The Demo
Press
Ctrl+Cin any node terminal.