-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from algorandfoundation/docs/peer-section-ENG-483
docs: peer to peer sections
- Loading branch information
Showing
10 changed files
with
149 additions
and
75 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"_variables": { | ||
"lastUpdateCheck": 1723148542874 | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: "Exchange Sessions" | ||
sidebar: | ||
order: 22 | ||
label: "Exchange" | ||
--- | ||
|
||
Both clients listen for each other's **Offer** and **Answer** messages at the relay service. | ||
Once the QR code is scanned, the **Offer** client proves it's identity then sends an **Offer** message to the **Answer** client. | ||
The **Answer** client then sends an **Answer** message to the **Offer** client, | ||
and the two clients can communicate over the P2P connection. | ||
|
||
```mermaid | ||
sequenceDiagram | ||
participant A as Answer Client | ||
participant C as Liquid Service | ||
participant B as Offer Client | ||
A->>A: Present QR Code | ||
B->>A: Scan QR Code | ||
A-->>B: Receive Origin and RequestId | ||
B->>C: Offer to Origin | ||
C->>A: Offer to Client | ||
A->>C: Answer to Origin | ||
C->>B: Answer to Client | ||
``` |
This file contains 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