Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: improve browser example connectability #240

Merged
merged 2 commits into from
Oct 31, 2018
Merged

Conversation

jacobheun
Copy link
Contributor

This updates the browser example so that it uses some additional transports, discovery, and so it uses circuit relays to improve its ability to connect. It also will now connect to the bootstrap nodes.

I also added some additional logic to prevent it from spam connecting to nodes it fails to talk to by adding a timeout before a subsequent dial attempt is allowed to that node.

@ghost ghost assigned jacobheun Aug 20, 2018
@ghost ghost added the status/in-progress In progress label Aug 20, 2018
Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏🏽👏🏽👏🏽

@jacobheun jacobheun merged commit 9518eb4 into master Oct 31, 2018
@ghost ghost removed the status/in-progress In progress label Oct 31, 2018
@jacobheun jacobheun deleted the docs/browser-example branch October 31, 2018 13:42
maschad pushed a commit to maschad/js-libp2p that referenced this pull request Jun 21, 2023
maschad pushed a commit to maschad/js-libp2p that referenced this pull request Jun 21, 2023
Replaces [err-code](https://github.com/IndigoUnited/js-err-code/blob/master/index.js) with [CodeError](libp2p/js-libp2p-interfaces#314)

Related: [js-libp2p#1269](libp2p#1269)

Changes

- removes err-code from dependencies
- adds @libp2p/interfaces@3.2.0 to dependencies
- uses CodeError in place of err-code
maschad pushed a commit to maschad/js-libp2p that referenced this pull request Jun 21, 2023
## [6.0.9](libp2p/js-libp2p-tcp@v6.0.8...v6.0.9) (2023-01-17)

### Bug Fixes

* increase default socket close timeout ([libp2p#242](libp2p/js-libp2p-tcp#242)) ([a64ba41](libp2p/js-libp2p-tcp@a64ba41)), closes [libp2p#239](libp2p/js-libp2p-tcp#239)

### Trivial Changes

* replace err-code with CodeError ([libp2p#240](libp2p/js-libp2p-tcp#240)) ([5c44562](libp2p/js-libp2p-tcp@5c44562)), closes [js-libp2p#1269](libp2p#1269)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants