Skip to content

Commit

Permalink
connections/simopen: Do not retry initiator selection
Browse files Browse the repository at this point in the history
The Golang implementation does not retry. See
multiformats/go-multistream#42 (comment).
  • Loading branch information
mxinden committed May 7, 2021
1 parent dc663fe commit ae86e33
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions connections/simopen.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,8 @@ A ---> B: initiator
B ---> A: responder
```

In the unlikely case where both peers selected the same integer, they
generate a fresh one and enter another round of the protocol. If
multiple rounds of the protocol result in the same integers, this is
indicative of a bug and both peers should abort the connection.
In the unlikely case where both peers selected the same integer, connection
establishment fails.

## Implementation Considerations

Expand Down

0 comments on commit ae86e33

Please sign in to comment.