mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
9d38306fe9
* Pass relay node an optional list of relay peers to connect to * Catch protocol selection failure on dialling to new relay nodes * Restrict max number of connections for a peer * Tag the relay node with a high value to avoid disconnects * Use debug for connect/disconnect logs in relay nodes * Ignore incomplete multiaddr on a peer discovery * Increase max connections for a peer to 10 * Refactor and descriptive comments |
||
---|---|---|
.. | ||
src | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
package.json | ||
README.md | ||
tsconfig.json |
peer
Package used for connecting between peers and send messages
Implementations
- Discover peers
- Connect between peers and send messages
- Use package in browser
- Use package in server
- Send messages between systems in different LANs using relay node
Known Issues
peer:disconnect
event is not fired when remote peer browser is closed