No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{# | <categorytree mode="all">ProtoFlux</categorytree> | ||
{{#mermaid:sequenceDiagram | |||
participant Client | |||
participant API | |||
participant Relay | |||
participant Session Host | |||
autonumber | |||
Client->>API: What relays are available? (api.resonite.com/networknodes) | |||
destroy API | |||
API-->>Client: Here's a list of relays | |||
Client-->Client: Select the best relay based on ping and other stats | |||
Client->>Relay: Connect to best relay | |||
activate Relay | |||
activate Client | |||
activate Session Host | |||
Relay->>Session Host: Connect to session h~ost | |||
Note over Client,Session Host: LNL messages relayed asycronously | |||
autonumber off | |||
Session Host->>Relay: LNL traffic | |||
Client->>Relay: LNL traffic | |||
deactivate Client | |||
deactivate Relay | |||
deactivate Session Host | |||
}} | }} |